Don't depend on the touch binary being present.

We can simply create an empty file by doing a no-op and redirecting stdout.
This commit is contained in:
Ed Schouten 2013-05-22 22:34:48 +00:00
parent f2dc9238d7
commit 57778110dc
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
KAZAKH KOI KS MISC TCVN
mapper.dir: ${SUBDIR}
touch ${.TARGET}
> ${.TARGET}
.for i in ${SUBDIR}
cat ${i}/mapper.dir.${i} >> ${.TARGET}
.endfor
@ -18,7 +18,7 @@ FILES+= mapper.dir mapper.dir.db
CLEANFILES+= mapper.dir mapper.dir.db
charset.pivot: ${SUBDIR}
touch ${.TARGET}
> ${.TARGET}
.for i in ${SUBDIR}
cat ${i}/charset.pivot.${i} >> ${.TARGET}
.endfor

View File

@ -10,7 +10,7 @@ FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
CLEANFILES= ${FILES}
esdb.dir: ${SUBDIR}
touch $@
> $@
.for i in ${SUBDIR}
cat ${i}/esdb.dir.${i} >>${.TARGET}
.endfor
@ -18,7 +18,7 @@ esdb.dir.db: esdb.dir
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
esdb.alias: ${SUBDIR}
touch $@
> $@
.for i in ${SUBDIR}
cat ${i}/esdb.alias.${i} >>${.TARGET}
.endfor