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 /relay | |
parent | 5ce6b57615e06ec7b59a6ba4b55f7251321484bf (diff) | |
download | isc-dhcp-ff7f93eebc31e91c30cad737d7282921d6a5242f.tar.gz |
Do path keyword substitution on unformatted manual pages prior to installing.
Diffstat (limited to 'relay')
-rw-r--r-- | relay/Makefile.dist | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/relay/Makefile.dist b/relay/Makefile.dist index e5e393e9..74db97af 100644 --- a/relay/Makefile.dist +++ b/relay/Makefile.dist @@ -62,10 +62,12 @@ 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. -dhcrelay.cat8: dhcrelay.8 +dhcrelay.cat8: dhcrelay.man8 + nroff -man dhcrelay.man8 >dhcrelay.cat8 + +dhcrelay.man8: dhcrelay.8 sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \ - -e "s#RUNDIR#$(VARRUN)#" < dhcrelay.8 \ - | nroff -man >dhcrelay.cat8 + -e "s#RUNDIR#$(VARRUN)#" < dhcrelay.8 >dhcrelay.man8 dhcrelay: dhcrelay.o $(DHCPLIB) $(CC) $(LFLAGS) -o $(PROG) dhcrelay.o $(DHCPLIB) $(LIBS) |