Only install header files if they are different from the ones that are
allready installed.
This commit is contained in:
parent
dc933f0a1c
commit
2f567fef23
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.8 1994/01/20 23:04:13 jtc Exp $
|
# $Id: Makefile,v 1.9 1994/05/22 04:20:02 jtc Exp $
|
||||||
|
|
||||||
RPCDIR= ${.CURDIR}/src
|
RPCDIR= ${.CURDIR}/src
|
||||||
.PATH: ${RPCDIR}
|
.PATH: ${RPCDIR}
|
||||||
|
@ -20,16 +20,14 @@ beforedepend: ${HDRS}
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/rpcsvc
|
install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/rpcsvc
|
||||||
@for i in $(HDRS); do \
|
@for i in $(HDRS); do \
|
||||||
echo install ${COPY} -o bin -g bin -m 444 $$i \
|
cmp -s $$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
|
||||||
${DESTDIR}/usr/include/rpcsvc ; \
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
|
||||||
install ${COPY} -o bin -g bin -m 444 $$i \
|
${DESTDIR}/usr/include/rpcsvc; \
|
||||||
${DESTDIR}/usr/include/rpcsvc ; \
|
|
||||||
done
|
done
|
||||||
@for i in $(RPCSRCS); do \
|
@for i in $(RPCSRCS); do \
|
||||||
echo install -c -o bin -g bin -m 444 ${RPCDIR}/$$i \
|
cmp -s ${RPCDIR}/$$i ${DESTDIR}/usr/include/rpcsvc/$$i > /dev/null 2>&1 || \
|
||||||
${DESTDIR}/usr/include/rpcsvc ; \
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${RPCDIR}/$$i \
|
||||||
install -c -o bin -g bin -m 444 ${RPCDIR}/$$i \
|
${DESTDIR}/usr/include/rpcsvc; \
|
||||||
${DESTDIR}/usr/include/rpcsvc ; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# new suffixes have to go afterwards, because bsd.lib.mk clears them
|
# new suffixes have to go afterwards, because bsd.lib.mk clears them
|
||||||
|
|
Loading…
Reference in New Issue