summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-10 16:13:17 +0000
committerbde <bde@FreeBSD.org>1997-04-10 16:13:17 +0000
commit3f56145d236045fe13b429cecdd0994dde94bb50 (patch)
tree1e1a9acc4b1c4c920ec8b9a7730a31b0ba81cf01 /gnu
parent3d7da76d795cb378e1436c9e891f3627a0730354 (diff)
downloadFreeBSD-src-3f56145d236045fe13b429cecdd0994dde94bb50.zip
FreeBSD-src-3f56145d236045fe13b429cecdd0994dde94bb50.tar.gz
Fixed bogus existence test related to searching for a nearby obj
directory. man.1 is always in the current (= object) directory, so don't search for it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/man/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/usr.bin/man/man/Makefile b/gnu/usr.bin/man/man/Makefile
index f0b5bb3..197d206 100644
--- a/gnu/usr.bin/man/man/Makefile
+++ b/gnu/usr.bin/man/man/Makefile
@@ -1,5 +1,6 @@
PROG= man
SRCS= man.c manpath.c glob.c
+MAN1= man.1
BINOWN= man
BINMODE=4555
INSTALLFLAGS+= -fschg
@@ -13,12 +14,6 @@ CFLAGS+= -I${LIBDESTDIR}
DPADD= ${LIBDESTDIR}/libman.a
LDADD= -L${LIBDESTDIR} -lman
-.if exists(${.OBJDIR})
-MAN1= ${.OBJDIR}/man.1
-.else
-MAN1= ${.CURDIR}/man.1
-.endif
-
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0644
CLEANFILES+= ${MAN1}
OpenPOWER on IntegriCloud