diff options
| -rw-r--r-- | include/Makefile | 5 |
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} |
