diff options
| author | Glenn Morris | 2013-10-29 23:24:16 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-10-29 23:24:16 -0700 |
| commit | 447892edb676cf79035d4084a1befa72a56b7e38 (patch) | |
| tree | 0a0fed5b29ed5e1af67e897792badb279779403d /admin | |
| parent | 74cf04fb1b3a8d3a529f98c6bc094068960ee1b2 (diff) | |
| download | emacs-447892edb676cf79035d4084a1befa72a56b7e38.tar.gz emacs-447892edb676cf79035d4084a1befa72a56b7e38.zip | |
* admin/unidata/Makefile.in (abs_srcdir): New, set by configure.
(${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute.
(clean): Delete all .elc files.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rw-r--r-- | admin/unidata/Makefile.in | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 9d5eda1cadf..c3b12658b88 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-10-30 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * unidata/Makefile.in (abs_srcdir): New, set by configure. | ||
| 4 | (${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute. | ||
| 5 | (clean): Delete all .elc files. | ||
| 6 | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | 7 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el): | 9 | * unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el): |
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index 91fb5a07305..521f66f5bc4 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | SHELL = @SHELL@ | 24 | SHELL = @SHELL@ |
| 25 | 25 | ||
| 26 | srcdir = @srcdir@ | 26 | srcdir = @srcdir@ |
| 27 | abs_srcdir = @abs_srcdir@ | ||
| 27 | abs_builddir = @abs_builddir@ | 28 | abs_builddir = @abs_builddir@ |
| 28 | top_srcdir = @top_srcdir@ | 29 | top_srcdir = @top_srcdir@ |
| 29 | abs_top_builddir = @abs_top_builddir@ | 30 | abs_top_builddir = @abs_top_builddir@ |
| @@ -41,13 +42,13 @@ unidata.txt: ${srcdir}/UnicodeData.txt | |||
| 41 | 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 > $@ |
| 42 | 43 | ||
| 43 | ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt | 44 | ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt |
| 44 | cd ${DSTDIR} && ${emacs} -l ${srcdir}/unidata-gen \ | 45 | cd ${DSTDIR} && ${emacs} -l ${abs_srcdir}/unidata-gen \ |
| 45 | -f unidata-gen-files ${srcdir} "${abs_builddir}/unidata.txt" | 46 | -f unidata-gen-files ${abs_srcdir} "${abs_builddir}/unidata.txt" |
| 46 | 47 | ||
| 47 | ## Like the above, but generate in PWD rather than lisp/international. | 48 | ## Like the above, but generate in PWD rather than lisp/international. |
| 48 | charprop.el: ${srcdir}/unidata-gen.elc unidata.txt | 49 | charprop.el: ${srcdir}/unidata-gen.elc unidata.txt |
| 49 | ${emacs} -l ${srcdir}/unidata-gen \ | 50 | ${emacs} -L ${srcdir} -l unidata-gen \ |
| 50 | -f unidata-gen-files ${srcdir} unidata.txt | 51 | -f unidata-gen-files ${srcdir} "${abs_builddir}/unidata.txt" |
| 51 | 52 | ||
| 52 | install: charprop.el | 53 | install: charprop.el |
| 53 | cp charprop.el ${DSTDIR} | 54 | cp charprop.el ${DSTDIR} |
| @@ -57,7 +58,7 @@ clean: | |||
| 57 | if test -f charprop.el; then \ | 58 | if test -f charprop.el; then \ |
| 58 | rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ | 59 | rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ |
| 59 | fi | 60 | fi |
| 60 | rm -f charprop.el ${srcdir}/unidata-gen.elc unidata.txt | 61 | rm -f charprop.el ${srcdir}/*.elc unidata.txt |
| 61 | 62 | ||
| 62 | distclean: clean | 63 | distclean: clean |
| 63 | -rm -f ./Makefile | 64 | -rm -f ./Makefile |