summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man/manpath/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-11-30 17:17:29 +0000
committersteve <steve@FreeBSD.org>1997-11-30 17:17:29 +0000
commit874d6c6801dd76edb69b2f841db47c52dfabee9c (patch)
tree794de2e29499ee45f93037f855f37d645622479f /gnu/usr.bin/man/manpath/Makefile
parent3d6622e13fba34f9da68d6ac2a35ded47540e529 (diff)
downloadFreeBSD-src-874d6c6801dd76edb69b2f841db47c52dfabee9c.zip
FreeBSD-src-874d6c6801dd76edb69b2f841db47c52dfabee9c.tar.gz
Remove this copy of manpath.c and add the .PATH directive to get to
the same file in ${.CURDIR}/../man. Suggested by: Bruce Evans
Diffstat (limited to 'gnu/usr.bin/man/manpath/Makefile')
-rw-r--r--gnu/usr.bin/man/manpath/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/manpath/Makefile b/gnu/usr.bin/man/manpath/Makefile
index d3fa6b6..a9d0523 100644
--- a/gnu/usr.bin/man/manpath/Makefile
+++ b/gnu/usr.bin/man/manpath/Makefile
@@ -15,6 +15,8 @@ CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+= ${MAN1}
MANDEPEND+= ${MAN1}
+.PATH: ${.CURDIR}/../man
+
${MAN1}: ${.CURDIR}/manpath.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
OpenPOWER on IntegriCloud