1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00

Slightly adjust speedup patch, so that it works when user specifies unnatural

targets sequence, i.e. `make clean build'. It doesn't affect default behaviour.

Reported by:	knu
This commit is contained in:
Maxim Sobolev 2002-03-27 04:26:44 +00:00
parent 1f03f375ce
commit 3c634c1303
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56726

View File

@ -2526,8 +2526,12 @@ ${target}:
${${target:U}_COOKIE}: ${_${target:U}_SEQ}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
.else
${${target:U}_COOKIE}:
${DO_NADA}
${${target:U}_COOKIE}::
@if [ -e ${.TARGET} ]; then \
${DO_NADA}; \
else \
cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} ${.TARGET}; \
fi
.endif
.endfor