diff options
author | Robert de Bath <rdebath@poboxes.com> | 2003-01-29 21:07:56 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:48 +0200 |
commit | ded00c0d1c0dc38e63b2c48ff8cbb12c1b60c70f (patch) | |
tree | d453e3353975e51525ef0a9b08e751ebc5ff9c29 /libc/Makefile | |
parent | b5790e52270b149e92531a8eb0cd521ff2854dff (diff) | |
download | dev86-ded00c0d1c0dc38e63b2c48ff8cbb12c1b60c70f.tar.gz |
Import Dev86src-0.16.11.tar.gzv0.16.11
Diffstat (limited to 'libc/Makefile')
-rw-r--r-- | libc/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libc/Makefile b/libc/Makefile index d5887b2..7d1ceb9 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -52,11 +52,10 @@ transfer: .config.dir @for i in `cat .config.dir`; do \ grep -s '^transfer' $$i/Makefile && $(MAKE) -s -C $$i $@ ; \ done ; echo -n - @[ -f kinclude/Used ] || \ - { rm -f include/linuxmt include/arch ; \ - ln -s $(ELKSSRC)/include/linuxmt include ; \ - ln -s $(ELKSSRC)/include/arch include ; \ - } + @[ -d include/linuxmt/. ] || \ + ln -s $(ELKSSRC)/include/linuxmt include + @[ -d include/arch/. ] || \ + ln -s $(ELKSSRC)/include/arch include ############################################################################ @@ -70,16 +69,11 @@ clean: ############################################################################ -install_incl: +install_incl: transfer install -d $(BCCHOME)/include rm -f $(BCCHOME)/include/linuxmt $(BCCHOME)/include/arch ||: - cp -pr include/* $(BCCHOME)/include - if [ ! -f kinclude/Used ] ; \ - then rm -rf $(BCCHOME)/include/linuxmt $(BCCHOME)/include/arch ; \ - ln -s $(ELKSSRC)/include/linuxmt $(BCCHOME)/include ; \ - ln -s $(ELKSSRC)/include/arch $(BCCHOME)/include ; \ - fi - -chown -R root:root $(BCCHOME)/include 2>/dev/null + cp -Lpr include/* $(BCCHOME)/include + -chown -R root:root $(BCCHOME)/include -chmod -R u=rwX,og=rX $(BCCHOME)/include ############################################################################ |