aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2013-11-27 13:25:44 -0500
committerGlenn Morris2013-11-27 13:25:44 -0500
commit7e3bf78c8900d7bac3bbeca038a99f5ce7afeeee (patch)
treeab254409204419f0e2250372d260c85abe377aa4 /admin
parentccd4fb3d2ec32d1db12412231d6a7d507039de9d (diff)
downloademacs-7e3bf78c8900d7bac3bbeca038a99f5ce7afeeee.tar.gz
emacs-7e3bf78c8900d7bac3bbeca038a99f5ce7afeeee.zip
Stop keeping generated Unicode lisp files in the repository
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg01023.html * admin/unidata/Makefile.in (all, install, clean, bootstrap-clean) (distclean, maintainer-clean): Declare as PHONY. (compile, extraclean): New. (${DSTDIR}/charprop.el): Depend on source files rather than intermediate products. * lisp/international/charprop.el, lisp/international/uni-bidi.el: * lisp/international/uni-category.el, lisp/international/uni-combining.el: * lisp/international/uni-comment.el, lisp/international/uni-decimal.el: * lisp/international/uni-decomposition.el, lisp/international/uni-digit.el: * lisp/international/uni-lowercase.el, lisp/international/uni-mirrored.el: * lisp/international/uni-name.el, lisp/international/uni-numeric.el: * lisp/international/uni-old-name.el, lisp/international/uni-titlecase.el: * lisp/international/uni-uppercase.el: Remove generated files from VCS repository. * src/Makefile.in ($(lispsource)/international/charprop.el): New. (emacs$(EXEEXT)): Depend on charprop.el. * Makefile.in: Comment. * .bzrignore: Add generated Unicode files.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog8
-rw-r--r--admin/unidata/Makefile.in23
2 files changed, 29 insertions, 2 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index b8fdf09ddff..7f843d9dc79 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,11 @@
12013-11-27 Glenn Morris <rgm@gnu.org>
2
3 * unidata/Makefile.in (all, install, clean, bootstrap-clean)
4 (distclean, maintainer-clean): Declare as PHONY.
5 (compile, extraclean): New.
6 (${DSTDIR}/charprop.el): Depend on source files rather than
7 intermediate products.
8
12013-11-11 Glenn Morris <rgm@gnu.org> 92013-11-11 Glenn Morris <rgm@gnu.org>
2 10
3 * unidata/BidiMirroring.txt, unidata/UnicodeData.txt: Update to 6.3.0. 11 * unidata/BidiMirroring.txt, unidata/UnicodeData.txt: Update to 6.3.0.
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in
index 4d947363514..f51525109f7 100644
--- a/admin/unidata/Makefile.in
+++ b/admin/unidata/Makefile.in
@@ -31,6 +31,8 @@ EMACS = ${top_builddir}/src/emacs
31DSTDIR = ${top_srcdir}/lisp/international 31DSTDIR = ${top_srcdir}/lisp/international
32emacs = "${EMACS}" -batch --no-site-file --no-site-lisp 32emacs = "${EMACS}" -batch --no-site-file --no-site-lisp
33 33
34.PHONY: all compile install
35
34all: ${DSTDIR}/charprop.el 36all: ${DSTDIR}/charprop.el
35 37
36.el.elc: 38.el.elc:
@@ -39,7 +41,13 @@ all: ${DSTDIR}/charprop.el
39unidata.txt: ${srcdir}/UnicodeData.txt 41unidata.txt: ${srcdir}/UnicodeData.txt
40 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < ${srcdir}/UnicodeData.txt > $@ 42 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < ${srcdir}/UnicodeData.txt > $@
41 43
42${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt 44compile: ${srcdir}/unidata-gen.elc
45
46## Depend on .el rather than .elc so as not to needless rebuild
47## uni-*.el files just because .elc is missing.
48## Same for UnicodeData.txt v unidata.txt.
49${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.el ${srcdir}/UnicodeData.txt
50 ${MAKE} ${MFLAGS} compile unidata.txt EMACS="${EMACS}"
43 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \ 51 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \
44 ${srcdir} "${DSTDIR}" 52 ${srcdir} "${DSTDIR}"
45 53
@@ -48,6 +56,8 @@ charprop.el: ${srcdir}/unidata-gen.elc unidata.txt
48 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \ 56 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \
49 ${srcdir} 57 ${srcdir}
50 58
59.PHONY: clean bootstrap-clean distclean maintainer-clean extraclean
60
51install: charprop.el 61install: charprop.el
52 cp charprop.el ${DSTDIR} 62 cp charprop.el ${DSTDIR}
53 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR} 63 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
@@ -61,6 +71,15 @@ clean:
61bootstrap-clean: clean 71bootstrap-clean: clean
62 72
63distclean: clean 73distclean: clean
64 -rm -f ./Makefile 74 rm -f Makefile
65 75
66maintainer-clean: distclean 76maintainer-clean: distclean
77
78## Do not remove these files, even in a bootstrap, because they rarely
79## change and it slows down bootstrap (a tiny bit).
80## Cf leim/ja-dic (which is much slower).
81extraclean:
82 if test -f ${DSTDIR}/charprop.el; then \
83 (cd ${DSTDIR} && rm -f `sed -n 's/^;; FILE: //p' < charprop.el`); \
84 rm -f ${DSTDIR}/charprop.el; \
85 fi