declare ${DESTDIR}${INCSDIR}/$I .PHONY if UPDATE isn't defined, so that
headers will be installed properly in the !UPDATE case. From Christos.
This commit is contained in:
parent
0e1fa19edf
commit
521240796e
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.inc.mk,v 1.9 1997/05/31 21:21:56 cjs Exp $
|
||||
# $NetBSD: bsd.inc.mk,v 1.10 1997/06/03 16:00:30 cgd Exp $
|
||||
|
||||
.PHONY: incinstall
|
||||
includes: ${INCS} incinstall
|
||||
@ -8,6 +8,9 @@ includes: ${INCS} incinstall
|
||||
incinstall:: ${DESTDIR}${INCSDIR}/$I
|
||||
|
||||
.PRECIOUS: ${DESTDIR}${INCSDIR}/$I
|
||||
.if !defined(UPDATE)
|
||||
.PHONY: ${DESTDIR}${INCSDIR}/$I
|
||||
.endif
|
||||
${DESTDIR}${INCSDIR}/$I: $I
|
||||
@cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
|
||||
(echo "${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
|
||||
|
Loading…
Reference in New Issue
Block a user