diff options
author | Ted Lemon <source@isc.org> | 1997-11-22 07:14:58 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1997-11-22 07:14:58 +0000 |
commit | 0f829600e88e15109dd6be2bebcabcdad23fc460 (patch) | |
tree | 45cc9eaa9239f0c3f9256f4c12a3cd0c097b7f66 /server/Makefile.dist | |
parent | 328496310fa7c21d38a6228113d02c8c0ac28179 (diff) | |
download | isc-dhcp-0f829600e88e15109dd6be2bebcabcdad23fc460.tar.gz |
Add dhcpd.leases man page. Globalize sed scripts on man pages.
Diffstat (limited to 'server/Makefile.dist')
-rw-r--r-- | server/Makefile.dist | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/server/Makefile.dist b/server/Makefile.dist index f535023e..9dbea5dc 100644 --- a/server/Makefile.dist +++ b/server/Makefile.dist @@ -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 @@ -29,11 +30,11 @@ # 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) |