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
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user