summaryrefslogtreecommitdiffstats
path: root/usr.bin/top
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-30 04:27:05 +0000
committerngie <ngie@FreeBSD.org>2017-05-30 04:27:05 +0000
commitd810ce2256f717d8d8f0d0e2c433ffa3e4947b36 (patch)
tree791457554b7041d919a2f2f17e7fbc0c27df2d42 /usr.bin/top
parent3d65b38935322eeafe1144f25e11a24abbede0cd (diff)
downloadFreeBSD-src-d810ce2256f717d8d8f0d0e2c433ffa3e4947b36.zip
FreeBSD-src-d810ce2256f717d8d8f0d0e2c433ffa3e4947b36.tar.gz
MFC r315170:
r315170 (by imp): Adopt SRCTOP in usr.bin Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Silence on: arch@ (twice)
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile
index 9e62b4f..9ec95dc 100644
--- a/usr.bin/top/Makefile
+++ b/usr.bin/top/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-TOPDIR= ${.CURDIR}/../../contrib/top
+TOPDIR= ${SRCTOP}/contrib/top
.PATH: ${TOPDIR}
PROG= top
@@ -24,7 +24,7 @@ CFLAGS+= -D"Table_size=${TOP_TABLE_SIZE}"
LIBADD= ncursesw m kvm jail
CLEANFILES= sigdesc.h
-SIGCONV_AWK= ${.CURDIR}/../../contrib/top/sigconv.awk
+SIGCONV_AWK= ${SRCTOP}/contrib/top/sigconv.awk
STAGED_INCLUDE_DIR?= ${DESTDIR}/usr/include
SIGNAL_H= ${STAGED_INCLUDE_DIR}/sys/signal.h
sigdesc.h: ${SIGCONV_AWK} ${SIGNAL_H}
OpenPOWER on IntegriCloud