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.
This commit is contained in:
parent
409875e46d
commit
3021afb53e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59065
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user