aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top/Makefile')
-rw-r--r--usr.bin/top/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile
index 864473f5c614..977b3c3b71b6 100644
--- a/usr.bin/top/Makefile
+++ b/usr.bin/top/Makefile
@@ -26,7 +26,8 @@ LDADD= -ltermcap -lm -lkvm
CLEANFILES= sigdesc.h
SIGCONV_AWK= ${.CURDIR}/../../contrib/top/sigconv.awk
-SIGNAL_H= ${DESTDIR}/usr/include/sys/signal.h
+STAGED_INCLUDE_DIR?= ${DESTDIR}/usr/include
+SIGNAL_H= ${STAGED_INCLUDE_DIR}/sys/signal.h
sigdesc.h: ${SIGCONV_AWK} ${SIGNAL_H}
awk -f ${SIGCONV_AWK} < ${SIGNAL_H} > ${.TARGET}