Home | History | Annotate | Line # | Download | only in mk
bsd.inc.mk revision 1.4
      1 #	$NetBSD: bsd.inc.mk,v 1.4 1997/05/06 21:29:36 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 .PRECIOUS: ${DESTDIR}${INCSDIR}/$I
     10 ${DESTDIR}${INCSDIR}/$I: $I
     11 	@cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
     12 	    (echo "${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     13 		${.ALLSRC} ${.TARGET}" && \
     14 	     ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
     15 		${.ALLSRC} ${.TARGET})
     16 .endfor
     17 includes: inclinstall
     18 .endif
     19