diff options
author | Ted Lemon <source@isc.org> | 1999-04-12 22:13:56 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-04-12 22:13:56 +0000 |
commit | ff7f93eebc31e91c30cad737d7282921d6a5242f (patch) | |
tree | 4735bd70f5cede5a6ba5a9fc14d8eb0f6ac0ee6b /server/Makefile.dist | |
parent | 5ce6b57615e06ec7b59a6ba4b55f7251321484bf (diff) | |
download | isc-dhcp-ff7f93eebc31e91c30cad737d7282921d6a5242f.tar.gz |
Do path keyword substitution on unformatted manual pages prior to installing.
Diffstat (limited to 'server/Makefile.dist')
-rw-r--r-- | server/Makefile.dist | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/server/Makefile.dist b/server/Makefile.dist index 6bdaf333..1f371916 100644 --- a/server/Makefile.dist +++ b/server/Makefile.dist @@ -66,18 +66,26 @@ distclean: realclean # macros aren't available on older unices. Catted man pages are # provided in the distribution so that this doesn't become a problem. -dhcpd.cat8: dhcpd.8 +dhcpd.cat8: dhcpd.man8 + nroff -man dhcpd.man8 >dhcpd.cat8 + +dhcpd.man8: dhcpd.8 + sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ + -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.8 >dhcpd.man8 + +dhcpd.conf.cat5: dhcpd.conf.man5 + nroff -man dhcpd.conf.man5 >dhcpd.conf.cat5 + +dhcpd.conf.man5: dhcpd.conf.5 sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.8 \ - | nroff -man >dhcpd.cat8 + -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.conf.5 >dhcpd.conf.man5 -dhcpd.conf.cat5: dhcpd.conf.5 - nroff -man dhcpd.conf.5 >dhcpd.conf.cat5 +dhcpd.leases.cat5: dhcpd.leases.man5 + nroff -man dhcpd.leases.man5 >dhcpd.leases.cat5 -dhcpd.leases.cat5: dhcpd.leases.5 +dhcpd.leases.man5: 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 + -e "s#RUNDIR#$(VARRUN)#g" < dhcpd.leases.5 >dhcpd.leases.man5 dhcpd: $(OBJS) $(COBJ) $(DHCPLIB) $(CC) $(LFLAGS) -o dhcpd $(OBJS) $(DHCPLIB) $(LIBS) |