svn commit: r250919 - in head/share/i18n: csmapper esdb
Ed Schouten
ed at FreeBSD.org
Wed May 22 22:34:49 UTC 2013
Author: ed
Date: Wed May 22 22:34:48 2013
New Revision: 250919
URL: http://svnweb.freebsd.org/changeset/base/250919
Log:
Don't depend on the touch binary being present.
We can simply create an empty file by doing a no-op and redirecting stdout.
Modified:
head/share/i18n/csmapper/Makefile
head/share/i18n/esdb/Makefile
Modified: head/share/i18n/csmapper/Makefile
==============================================================================
--- head/share/i18n/csmapper/Makefile Wed May 22 22:34:09 2013 (r250918)
+++ head/share/i18n/csmapper/Makefile Wed May 22 22:34:48 2013 (r250919)
@@ -7,7 +7,7 @@ SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB
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
Modified: head/share/i18n/esdb/Makefile
==============================================================================
--- head/share/i18n/esdb/Makefile Wed May 22 22:34:09 2013 (r250918)
+++ head/share/i18n/esdb/Makefile Wed May 22 22:34:48 2013 (r250919)
@@ -10,7 +10,7 @@ FILES+= esdb.dir esdb.dir.db esdb.alias
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
More information about the svn-src-all
mailing list