summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man/manpath
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
committerjkh <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
commit8eb37231d4405088a481324c2ec41ac851e8d8f7 (patch)
treedc80da53186aab7c56424c2574b0cd7928930721 /gnu/usr.bin/man/manpath
parent3acbd3cce674dab9a0afdee1f6e50196f4585ffa (diff)
downloadFreeBSD-src-8eb37231d4405088a481324c2ec41ac851e8d8f7.zip
FreeBSD-src-8eb37231d4405088a481324c2ec41ac851e8d8f7.tar.gz
Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
Diffstat (limited to 'gnu/usr.bin/man/manpath')
-rw-r--r--gnu/usr.bin/man/manpath/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/man/manpath/Makefile b/gnu/usr.bin/man/manpath/Makefile
index 6633d6c..8e55b99 100644
--- a/gnu/usr.bin/man/manpath/Makefile
+++ b/gnu/usr.bin/man/manpath/Makefile
@@ -1,21 +1,21 @@
PROG= manpath
SRCS= manpath.c
-.if exists(${.CURDIR}/../lib/obj)
-LDADD= -L${.CURDIR}/../lib/obj -lman
+.if exists(${.OBJDIR}/../lib)
+LDADD= -L${.OBJDIR}/../lib -lman
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
-.if exists(${.CURDIR}/obj)
-MAN1=${.CURDIR}/obj/manpath.1
+.if exists(${.OBJDIR})
+MAN1=${.OBJDIR}/manpath.1
.else
MAN1=${.CURDIR}/manpath.1
.endif
DPADD+= ${MAN1}
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
-CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.CURDIR}/../lib/obj
+CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+= ${MAN1}
MANDEPEND+= ${MAN1}
OpenPOWER on IntegriCloud