1a1b1466cb
make owner and mode explicit, to make the mtree files.
26 lines
795 B
Makefile
26 lines
795 B
Makefile
# $Id: Makefile,v 1.10 1994/02/10 02:17:56 cgd Exp $
|
|
|
|
SUBDIR= libg++ genclass
|
|
|
|
INCLUDEDIRS= iostream libg++ g++-include
|
|
|
|
beforeinstall:
|
|
install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/g++
|
|
install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/g++/gen
|
|
@-for i in ${INCLUDEDIRS}; do \
|
|
echo installing includes from $$i ; \
|
|
(cd $$i; for j in *.[ih]; do \
|
|
cmp -s $$j ${DESTDIR}/usr/include/g++/$$j || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 644 $$j \
|
|
${DESTDIR}/usr/include/g++/$$j; \
|
|
done); \
|
|
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 || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
|
|
${DESTDIR}/usr/include/g++/gen/$$j; \
|
|
done)
|
|
|
|
.include <bsd.subdir.mk>
|