aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
committerWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
commita35f04fba2ebb8f86d4cbdc710c89a094572b08e (patch)
tree6d7834512c1ccea38c53d829131105485c884751 /usr.bin/xinstall/Makefile
parente3f87f6c705552b9aaf2cc10ec687f330c0ebe6a (diff)
Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
Notes
Notes: svn path=/head/; revision=315170
Diffstat (limited to 'usr.bin/xinstall/Makefile')
-rw-r--r--usr.bin/xinstall/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index dcb486bdf8ec..2e167a75f2da 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -8,9 +8,9 @@ PROGNAME= install
SRCS= xinstall.c getid.c
MAN= install.1
-.PATH: ${.CURDIR}/../../contrib/mtree
-CFLAGS+= -I${.CURDIR}/../../contrib/mtree
-CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
+.PATH: ${SRCTOP}/contrib/mtree
+CFLAGS+= -I${SRCTOP}/contrib/mtree
+CFLAGS+= -I${SRCTOP}/lib/libnetbsd
LIBADD= md