23 lines
546 B
Makefile
23 lines
546 B
Makefile
# $NetBSD: bsd.inc.mk,v 1.5 1997/05/07 15:53:29 mycroft Exp $
|
|
|
|
.PHONY: incinstall
|
|
includes: incinstall
|
|
|
|
.if defined(INCS)
|
|
.for I in ${INCS}
|
|
incinstall:: ${DESTDIR}${INCSDIR}/$I
|
|
|
|
.PRECIOUS: ${DESTDIR}${INCSDIR}/$I
|
|
${DESTDIR}${INCSDIR}/$I: $I
|
|
@cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
|
|
(echo "${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
|
${.ALLSRC} ${.TARGET}" && \
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
|
${.ALLSRC} ${.TARGET})
|
|
.endfor
|
|
.endif
|
|
|
|
.if !target(incinstall)
|
|
incinstall::
|
|
.endif
|