2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

globalize sed commands on man pages

This commit is contained in:
Ted Lemon 1997-11-22 07:08:36 +00:00
parent 3b1f38df93
commit 38d8c0ab68

View File

@ -88,21 +88,21 @@ distclean: realclean
# provided in the distribution so that this doesn't become a problem. # provided in the distribution so that this doesn't become a problem.
dhclient.cat8: dhclient.8 dhclient.cat8: dhclient.8
sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \ sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
-e "s#RUNDIR#$(VARRUN)#" < dhclient.8 \ -e "s#RUNDIR#$(VARRUN)#g" < dhclient.8 \
| nroff -man >dhclient.cat8 | nroff -man >dhclient.cat8
dhclient-script.cat8: dhclient-script.8 dhclient-script.cat8: dhclient-script.8
sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \ sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
-e "s#RUNDIR#$(VARRUN)#" < dhclient-script.8 \ -e "s#RUNDIR#$(VARRUN)#g" < dhclient-script.8 \
| nroff -man >dhclient-script.cat8 | nroff -man >dhclient-script.cat8
dhclient.conf.cat5: dhclient.conf.5 dhclient.conf.cat5: dhclient.conf.5
nroff -man dhclient.conf.5 >dhclient.conf.cat5 nroff -man dhclient.conf.5 >dhclient.conf.cat5
dhclient.leases.cat5: dhclient.leases.5 dhclient.leases.cat5: dhclient.leases.5
sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \ sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
-e "s#RUNDIR#$(VARRUN)#" < dhclient.leases.5 \ -e "s#RUNDIR#$(VARRUN)#g" < dhclient.leases.5 \
| nroff -man >dhclient.leases.cat5 | nroff -man >dhclient.leases.cat5