From: Glenn Morris Date: Sun, 1 Dec 2013 01:37:23 +0000 (-0800) Subject: * unidata/Makefile.in (${DSTDIR}/charprop.el): Ensure output files are writable. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~617 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2685641ac4a9e23c87e0a1c9f078e220af592a4;p=emacs.git * unidata/Makefile.in (${DSTDIR}/charprop.el): Ensure output files are writable. --- 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}"