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:
parent
f2dc9238d7
commit
57778110dc
@ -7,7 +7,7 @@ SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
|
|||||||
KAZAKH KOI KS MISC TCVN
|
KAZAKH KOI KS MISC TCVN
|
||||||
|
|
||||||
mapper.dir: ${SUBDIR}
|
mapper.dir: ${SUBDIR}
|
||||||
touch ${.TARGET}
|
> ${.TARGET}
|
||||||
.for i in ${SUBDIR}
|
.for i in ${SUBDIR}
|
||||||
cat ${i}/mapper.dir.${i} >> ${.TARGET}
|
cat ${i}/mapper.dir.${i} >> ${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
@ -18,7 +18,7 @@ FILES+= mapper.dir mapper.dir.db
|
|||||||
CLEANFILES+= mapper.dir mapper.dir.db
|
CLEANFILES+= mapper.dir mapper.dir.db
|
||||||
|
|
||||||
charset.pivot: ${SUBDIR}
|
charset.pivot: ${SUBDIR}
|
||||||
touch ${.TARGET}
|
> ${.TARGET}
|
||||||
.for i in ${SUBDIR}
|
.for i in ${SUBDIR}
|
||||||
cat ${i}/charset.pivot.${i} >> ${.TARGET}
|
cat ${i}/charset.pivot.${i} >> ${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
|
@ -10,7 +10,7 @@ FILES+= esdb.dir esdb.dir.db esdb.alias esdb.alias.db
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
esdb.dir: ${SUBDIR}
|
esdb.dir: ${SUBDIR}
|
||||||
touch $@
|
> $@
|
||||||
.for i in ${SUBDIR}
|
.for i in ${SUBDIR}
|
||||||
cat ${i}/esdb.dir.${i} >>${.TARGET}
|
cat ${i}/esdb.dir.${i} >>${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
@ -18,7 +18,7 @@ esdb.dir.db: esdb.dir
|
|||||||
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
|
${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
esdb.alias: ${SUBDIR}
|
esdb.alias: ${SUBDIR}
|
||||||
touch $@
|
> $@
|
||||||
.for i in ${SUBDIR}
|
.for i in ${SUBDIR}
|
||||||
cat ${i}/esdb.alias.${i} >>${.TARGET}
|
cat ${i}/esdb.alias.${i} >>${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user