From c2685641ac4a9e23c87e0a1c9f078e220af592a4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 30 Nov 2013 17:37:23 -0800 Subject: [PATCH] * unidata/Makefile.in (${DSTDIR}/charprop.el): Ensure output files are writable. --- admin/ChangeLog | 5 +++++ admin/unidata/Makefile.in | 3 +++ 2 files changed, 8 insertions(+) diff --git a/admin/ChangeLog b/admin/ChangeLog index 059376d622a..7d23542a84e 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,8 @@ +2013-12-01 Glenn Morris + + * unidata/Makefile.in (${DSTDIR}/charprop.el): + Ensure output files are writable. + 2013-11-30 Glenn Morris * grammars/Makefile.in: Ensure output files are writable. diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index fbe4d64be27..2c65ee5b65f 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}" -- 2.39.2