1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Don't clobber headers that we didn't create.

Noticed by:	bde
Reviewed by:	bde
This commit is contained in:
Ruslan Ermilov 2002-04-03 17:29:20 +00:00
parent 2514186c3b
commit 82813a8c7a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93730

View File

@ -38,8 +38,6 @@ LDIRS= cam net netatalk netatm netgraph netinet netinet6 \
netipx netkey netnatm netncp netns netsmb nfs nfsclient nfsserver \
pccard posix4 sys vm
LNOHEADERDIRS= dev fs isofs security ufs
LSUBDIRS= cam/scsi dev/ic dev/ppbus dev/usb dev/wi dev/an fs/devfs \
fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs fs/nwfs fs/portalfs \
fs/procfs fs/smbfs fs/umapfs fs/unionfs isofs/cd9660 \
@ -128,11 +126,8 @@ symlinks:
rm -rf ${DESTDIR}/usr/include/$i
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
.endfor
.for i in ${LNOHEADERDIRS}
rm -rf ${DESTDIR}/usr/include/$i
mkdir ${DESTDIR}/usr/include/$i
.endfor
.for i in ${LSYMSUBDIRS}
rm -rf ${DESTDIR}/usr/include/$i
ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i
.endfor
rm -rf ${DESTDIR}/usr/include/machine