diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 8 | ||||
| -rw-r--r-- | admin/unidata/Makefile.in | 23 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-11-11 Glenn Morris <rgm@gnu.org> | 9 | 2013-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 | |||
| 31 | DSTDIR = ${top_srcdir}/lisp/international | 31 | DSTDIR = ${top_srcdir}/lisp/international |
| 32 | emacs = "${EMACS}" -batch --no-site-file --no-site-lisp | 32 | emacs = "${EMACS}" -batch --no-site-file --no-site-lisp |
| 33 | 33 | ||
| 34 | .PHONY: all compile install | ||
| 35 | |||
| 34 | all: ${DSTDIR}/charprop.el | 36 | all: ${DSTDIR}/charprop.el |
| 35 | 37 | ||
| 36 | .el.elc: | 38 | .el.elc: |
| @@ -39,7 +41,13 @@ all: ${DSTDIR}/charprop.el | |||
| 39 | unidata.txt: ${srcdir}/UnicodeData.txt | 41 | unidata.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 | 44 | compile: ${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 | |||
| 51 | install: charprop.el | 61 | install: 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: | |||
| 61 | bootstrap-clean: clean | 71 | bootstrap-clean: clean |
| 62 | 72 | ||
| 63 | distclean: clean | 73 | distclean: clean |
| 64 | -rm -f ./Makefile | 74 | rm -f Makefile |
| 65 | 75 | ||
| 66 | maintainer-clean: distclean | 76 | maintainer-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). | ||
| 81 | extraclean: | ||
| 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 | ||