]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add dhcpd.leases man page. Globalize sed scripts on man pages.
authorTed Lemon <source@isc.org>
Sat, 22 Nov 1997 07:14:58 +0000 (07:14 +0000)
committerTed Lemon <source@isc.org>
Sat, 22 Nov 1997 07:14:58 +0000 (07:14 +0000)
server/Makefile.dist

index f535023efc095a9e865fc11f119778aa8a069794..9dbea5dca345f44787a441fb21bf222cf26ca3d1 100644 (file)
@@ -1,6 +1,7 @@
 # Makefile.dist
 #
-# Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.
+# Copyright (c) 1996, 1997 The Internet Software Consortium.
+# All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
 # OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5
+CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5
 SRCS   = dhcpd.c dhcp.c bootp.c confpars.c db.c
 OBJS   = dhcpd.o dhcp.o bootp.o confpars.o db.o
 PROG   = dhcpd
-MAN    = dhcpd.8 dhcpd.conf.5
+MAN    = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
 
 DEBUG  = -g
 INCLUDES = -I.. -I../includes
@@ -60,6 +61,8 @@ install: $(PROG) $(CATMANPAGES)
                                $(ADMMANDIR)/dhcpd$(ADMMANEXT)
        $(MANINSTALL) $(MANFROM) dhcpd.conf.cat5 $(MANTO) \
                                $(FFMANDIR)/dhcpd.conf$(FFMANEXT)
+       $(MANINSTALL) $(MANFROM) dhcpd.leases.cat5 $(MANTO) \
+                               $(FFMANDIR)/dhcpd.leases$(FFMANEXT)
 
 clean:
        -rm -f $(OBJS)
@@ -75,13 +78,18 @@ distclean: realclean
 # provided in the distribution so that this doesn't become a problem.
 
 dhcpd.cat8:    dhcpd.8
-       sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \
-               -e "s#RUNDIR#$(VARRUN)#" < dhcpd.8 \
+       sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
+               -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.8 \
                        | nroff -man >dhcpd.cat8
 
 dhcpd.conf.cat5:       dhcpd.conf.5
        nroff -man dhcpd.conf.5 >dhcpd.conf.cat5
 
+dhcpd.leases.cat5:     dhcpd.leases.5
+       sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
+               -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.leases.5 \
+                       | nroff -man >dhcpd.leases.cat5
+
 dhcpd: $(OBJS) $(COBJ) $(DHCPLIB)
        $(CC) $(LFLAGS) -o dhcpd $(OBJS) $(DHCPLIB) $(LIBS)