From 7ec00975de6adb16d0ce0f7366cb85eb8ccf175e Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 21 May 2001 12:37:04 +0000 Subject: [PATCH] Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS. --- include/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/Makefile b/include/Makefile index 3ad3a6aecfe..0bf4116658e 100644 --- a/include/Makefile +++ b/include/Makefile @@ -47,10 +47,6 @@ LNOHEADERDIRS= fs isofs ufs dev LSUBDIRS= fs/smbfs isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs \ cam/scsi dev/ppbus dev/usb dev/wi -# For SHARED=symlinks, cam is a symlink, so cam/scsi is taken care of -LSYMSUBDIRS= fs/smbfs isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs \ - dev/ppbus dev/usb dev/wi - # Define SHARED to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is # probably only useful for developers and should be avoided if you do not @@ -98,7 +94,7 @@ beforeinstall: ${SHARED} .endfor copies: -.for i in ${LDIRS} ${LSYMSUBDIRS} machine +.for i in ${LDIRS} ${LNOHEADERDIRS} machine if [ -h ${DESTDIR}/usr/include/$i ]; then \ rm -f ${DESTDIR}/usr/include/$i; \ fi @@ -127,10 +123,7 @@ symlinks: .endfor .for i in ${LNOHEADERDIRS} rm -rf ${DESTDIR}/usr/include/$i - mkdir ${DESTDIR}/usr/include/$i -.endfor -.for i in ${LSYMSUBDIRS} - ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i + ln -s ../../sys/$i ${DESTDIR}/usr/include/$i .endfor rm -rf ${DESTDIR}/usr/include/machine ln -s ../../sys/${MACHINE_ARCH}/include ${DESTDIR}/usr/include/machine