Remove exists() checks so normal out-of-date handling can be used.

This also fixes META MODE rebuilding these because the 'number of build commands'
changed from the previous build.

MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-03-11 23:45:36 +00:00
parent c3a42f86a7
commit 2c67a820e7
3 changed files with 5 additions and 9 deletions

View File

@ -13,12 +13,10 @@ Big5_$i_variable!= sed \
${.CURDIR}/Big5.variable
.endfor
.for i in ${PART}
.if !exists(Big5-${i:S/:/@/}.src)
# XXX: FIXME
Big5-${i:S/:/@/}.src: Big5.src Big5.variable
sed -e 's/encoding/Big5-$i/' \
-e 's/variable/${Big5_$i_variable}/' \
${.CURDIR}/Big5.src > $@
@echo Big5-${i:S/:/@/}.src >>.tmpfiles
.endif
@echo ${.TARGET} >>.tmpfiles
.endfor

View File

@ -67,11 +67,9 @@ codesets: ${ESDB}
.if !defined(NO_PREPROC)
.for i in ${PART}
.if !exists(${EPREFIX}${i:S/:/@/}.src)
${EPREFIX}${i:S/:/@/}.src: ${CODE}.src
sed ${SED_EXP:S@%%PART%%@${i}@} ${.CURDIR}/${CODE}.src > ${EPREFIX}${i:S/:/@/}.src
@echo ${EPREFIX}${i:S/:/@/}.src >>.tmpfiles
.endif
sed ${SED_EXP:S@%%PART%%@${i}@} ${.ALLSRC} > ${.TARGET}
@echo ${.TARGET} >>.tmpfiles
.endfor
.endif

View File

@ -36,6 +36,6 @@ ${EPREFIX}${i}.src: ${CODE}.src
sed -e 's/UTF-x/UTF-${i}/' \
-e 's/UTF-mod/${UTF-${i}-mod}/' \
-e 's/UTF-var/${UTF-${i}-var}/' \
${.CURDIR}/${CODE}.src > ${EPREFIX}${i:S/:/@/}.src
@echo ${EPREFIX}${i:S/:/@/}.src >>.tmpfiles
${.ALLSRC} > ${.TARGET}
@echo ${.TARGET} >>.tmpfiles
.endfor