diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-10-26 15:56:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-10-26 15:56:03 +0000 |
commit | b2811ca0fd75037d7596db56989a228c51524f71 (patch) | |
tree | 9f9f54311a5d4af3e04d8596bf3e243390f51f9e /lib/libagentx | |
parent | 2a9242d826a7c3704ef29556223dfbc14a429fa6 (diff) |
make includes should be more verbose
ok martijn
Diffstat (limited to 'lib/libagentx')
-rw-r--r-- | lib/libagentx/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libagentx/Makefile b/lib/libagentx/Makefile index cf4fb7f0767..7808d002b2e 100644 --- a/lib/libagentx/Makefile +++ b/lib/libagentx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/10/26 15:45:56 martijn Exp $ +# $OpenBSD: Makefile,v 1.3 2020/10/26 15:56:02 deraadt Exp $ LIB= agentx @@ -18,10 +18,13 @@ VERSION_SCRIPT= Symbols.map SYMBOL_LIST= ${.CURDIR}/Symbols.list includes: - @cd ${.CURDIR}; for i in ${HDRS}; do \ - cmp -s $$i ${DESTDIR}/usr/include/$$i || \ - ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \ - ${DESTDIR}/usr/include; done + @cd ${.CURDIR}; for i in $(HDRS); do \ + j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ + ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \ + -m 444 $$i ${DESTDIR}/usr/include"; \ + echo $$j; \ + eval "$$j"; \ + done ${VERSION_SCRIPT}: ${SYMBOL_LIST} { printf '{\n\tglobal:\n'; \ |