bsd.inc.mk revision 1.3 1 # $NetBSD: bsd.inc.mk,v 1.3 1997/05/06 20:54:33 mycroft Exp $
2
3 .PHONY: inclinstall
4
5 .if defined(INCS) && !empty(INCS)
6 .for I in ${INCS}
7 inclinstall:: ${DESTDIR}${INCSDIR}/$I
8
9 ${DESTDIR}${INCSDIR}/$I: $I
10 @cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
11 (echo "${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
12 ${.ALLSRC} ${.TARGET}" && \
13 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
14 ${.ALLSRC} ${.TARGET})
15 .endfor
16 includes: inclinstall
17 .endif
18