summaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-06-13 08:10:34 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-06-13 08:10:34 +0000
commit4e10331a2db1397d040cbafac9acf23d8e665cdb (patch)
tree579d3a5dd64242d5d80fd355244877ad9cd0f1d2 /include/Makefile
parentd28d23f0c361027b4ae768729a2d1ae7944490a0 (diff)
Notes
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 4530e783c98d..2348e5c96a63 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}