diff options
author | Glenn Morris <rgm@gnu.org> | 2013-11-30 17:37:23 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-11-30 17:37:23 -0800 |
commit | c2685641ac4a9e23c87e0a1c9f078e220af592a4 (patch) | |
tree | e706d3284b386087f5fef733bebb5f2cb2429097 /admin/unidata | |
parent | fadec31f6613389b9bab1b1c6c8ab44082ce4dae (diff) |
* unidata/Makefile.in (${DSTDIR}/charprop.el): Ensure output files are writable.
Diffstat (limited to 'admin/unidata')
-rw-r--r-- | admin/unidata/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index fbe4d64be2..2c65ee5b65 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in @@ -48,6 +48,9 @@ compile: ${srcdir}/unidata-gen.elc ## Same for UnicodeData.txt v unidata.txt. ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.el ${srcdir}/UnicodeData.txt ${MAKE} ${MFLAGS} compile unidata.txt EMACS="${EMACS}" + -if [ -f "$@" ]; then \ + cd ${DSTDIR} && chmod +w charprop.el `sed -n 's/^;; FILE: //p' < charprop.el`; \ + fi ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \ ${srcdir} "${DSTDIR}" |