summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-10 16:14:09 +0000
committerbde <bde@FreeBSD.org>1997-04-10 16:14:09 +0000
commit06e128ab0025eb21e1d2f3e507f2398f7afa0bcb (patch)
treebdd9aa157de1e944900242794b442a2ac32c7e65 /gnu/usr.bin/man
parent3f56145d236045fe13b429cecdd0994dde94bb50 (diff)
downloadFreeBSD-src-06e128ab0025eb21e1d2f3e507f2398f7afa0bcb.zip
FreeBSD-src-06e128ab0025eb21e1d2f3e507f2398f7afa0bcb.tar.gz
Fixed bogus existence test related to searching for a nearby obj
directory. manpath.1 is always in the current (= object) directory, so don't search for it.
Diffstat (limited to 'gnu/usr.bin/man')
-rw-r--r--gnu/usr.bin/man/manpath/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/usr.bin/man/manpath/Makefile b/gnu/usr.bin/man/manpath/Makefile
index 0eaccef..d3fa6b6 100644
--- a/gnu/usr.bin/man/manpath/Makefile
+++ b/gnu/usr.bin/man/manpath/Makefile
@@ -1,5 +1,6 @@
PROG= manpath
SRCS= manpath.c
+MAN1= manpath.1
.if exists(${.OBJDIR}/../lib)
LIBDESTDIR= ${.OBJDIR}/../lib
@@ -9,12 +10,6 @@ LIBDESTDIR= ${.CURDIR}/../lib
DPADD= ${LIBDESTDIR}/libman.a
LDADD= -L${LIBDESTDIR} -lman
-.if exists(${.OBJDIR})
-MAN1=${.OBJDIR}/manpath.1
-.else
-MAN1=${.CURDIR}/manpath.1
-.endif
-
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+= ${MAN1}
OpenPOWER on IntegriCloud