summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-04-06 07:33:29 +0000
committerru <ru@FreeBSD.org>2000-04-06 07:33:29 +0000
commitc7d280efd4c97c37164078b1226b2406c7724153 (patch)
tree794ae03234454e7200d397cb9058fca0480526ea /include
parent31f0f935ef6f942c13c427503062a6cc55831963 (diff)
downloadFreeBSD-src-c7d280efd4c97c37164078b1226b2406c7724153.zip
FreeBSD-src-c7d280efd4c97c37164078b1226b2406c7724153.tar.gz
The idea always was that `make copies' should undo the
`make symlinks' job, but it got broken in rev 1.109. Restore the correct behaviour.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 4530e78..2348e5c 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -96,11 +96,14 @@ beforeinstall: ${SHARED}
.endfor
copies:
-.for i in ${LDIRS} ${LNOHEADERDIRS} machine
+.for i in ${LDIRS} ${LSYMSUBDIRS} machine
if [ -h ${DESTDIR}/usr/include/$i ]; then \
rm -f ${DESTDIR}/usr/include/$i; \
fi
.endfor
+.for i in ${LNOHEADERDIRS}
+ rm -rf ${DESTDIR}/usr/include/$i
+.endfor
mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
.for i in ${LDIRS} ${LSUBDIRS}
OpenPOWER on IntegriCloud