summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-11-30 17:37:23 -0800
committerGlenn Morris <rgm@gnu.org>2013-11-30 17:37:23 -0800
commitc2685641ac4a9e23c87e0a1c9f078e220af592a4 (patch)
treee706d3284b386087f5fef733bebb5f2cb2429097 /admin
parentfadec31f6613389b9bab1b1c6c8ab44082ce4dae (diff)
downloademacs-c2685641ac4a9e23c87e0a1c9f078e220af592a4.tar.gz
* unidata/Makefile.in (${DSTDIR}/charprop.el): Ensure output files are writable.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog5
-rw-r--r--admin/unidata/Makefile.in3
2 files changed, 8 insertions, 0 deletions
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 <rgm@gnu.org>
+
+ * unidata/Makefile.in (${DSTDIR}/charprop.el):
+ Ensure output files are writable.
+
2013-11-30 Glenn Morris <rgm@gnu.org>
* 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}"