From 4e10331a2db1397d040cbafac9acf23d8e665cdb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 13 Jun 2000 08:10:34 +0000 Subject: MFC: (rev 1.110) Unbroke `make symlinks; make copies' sequence. --- include/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 4530e783c98d..2348e5c96a63 100644 --- a/include/Makefile +++ b/include/Makefile @@ -96,10 +96,13 @@ 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 -- cgit v1.3