diff options
Diffstat (limited to 'gnu/lib/libg++/Makefile')
| -rw-r--r-- | gnu/lib/libg++/Makefile | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/gnu/lib/libg++/Makefile b/gnu/lib/libg++/Makefile index 6d6b02d6c82e..158c7bd3254a 100644 --- a/gnu/lib/libg++/Makefile +++ b/gnu/lib/libg++/Makefile @@ -1,6 +1,6 @@ SUBDIR= libg++ genclass -INCLUDEDIRS= iostream libg++ g++-include +INCLUDEDIRS= iostream libg++ beforeinstall: @-if [ ! -d ${DESTDIR}/usr/include/g++ ]; then \ @@ -8,16 +8,6 @@ beforeinstall: chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++; \ chmod 755 ${DESTDIR}/usr/include/g++; \ fi - @-if [ ! -d ${DESTDIR}/usr/include/g++/gen ]; then \ - mkdir ${DESTDIR}/usr/include/g++/gen; \ - chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/gen; \ - chmod 755 ${DESTDIR}/usr/include/g++/gen; \ - fi - @-if [ ! -d ${DESTDIR}/usr/include/g++/sys ]; then \ - mkdir ${DESTDIR}/usr/include/g++/sys; \ - chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/sys; \ - chmod 755 ${DESTDIR}/usr/include/g++/sys; \ - fi @-for i in ${INCLUDEDIRS}; do \ echo installing includes from $$i ; \ (cd $$i; for j in *.[ih]; do \ @@ -26,17 +16,15 @@ beforeinstall: ${DESTDIR}/usr/include/g++/$$j; \ done); \ done - @echo installing includes from g++-include/sys - @(cd g++-include/sys ; for j in *.[ih]; do \ - cmp -s $$j ${DESTDIR}/usr/include/g++/sys/$$j || \ + @(cd g++-include ; for j in *.*P; do \ + cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \ - ${DESTDIR}/usr/include/g++/sys/$$j; \ + ${DESTDIR}/usr/include/g++/$$j; \ done) - @echo installing includes from g++-include/gen - @(cd g++-include/gen ; for j in *.*P; do \ - cmp -s $$j ${DESTDIR}/usr/include/g++/gen/$$j || \ + @(cd include ; for j in *.h; do \ + cmp -s $$j ${DESTDIR}/usr/include/$$j || \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \ - ${DESTDIR}/usr/include/g++/gen/$$j; \ + ${DESTDIR}/usr/include/$$j; \ done) .include <bsd.subdir.mk> |
