diff options
author | Glenn Morris <rgm@gnu.org> | 2013-10-29 23:24:16 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-10-29 23:24:16 -0700 |
commit | 447892edb676cf79035d4084a1befa72a56b7e38 (patch) | |
tree | 0a0fed5b29ed5e1af67e897792badb279779403d /admin/unidata | |
parent | 74cf04fb1b3a8d3a529f98c6bc094068960ee1b2 (diff) | |
download | emacs-447892edb676cf79035d4084a1befa72a56b7e38.tar.gz |
* 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/unidata')
-rw-r--r-- | admin/unidata/Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
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 @@ SHELL = @SHELL@ srcdir = @srcdir@ +abs_srcdir = @abs_srcdir@ abs_builddir = @abs_builddir@ top_srcdir = @top_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -41,13 +42,13 @@ unidata.txt: ${srcdir}/UnicodeData.txt sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < ${srcdir}/UnicodeData.txt > $@ ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt - cd ${DSTDIR} && ${emacs} -l ${srcdir}/unidata-gen \ - -f unidata-gen-files ${srcdir} "${abs_builddir}/unidata.txt" + cd ${DSTDIR} && ${emacs} -l ${abs_srcdir}/unidata-gen \ + -f unidata-gen-files ${abs_srcdir} "${abs_builddir}/unidata.txt" ## Like the above, but generate in PWD rather than lisp/international. charprop.el: ${srcdir}/unidata-gen.elc unidata.txt - ${emacs} -l ${srcdir}/unidata-gen \ - -f unidata-gen-files ${srcdir} unidata.txt + ${emacs} -L ${srcdir} -l unidata-gen \ + -f unidata-gen-files ${srcdir} "${abs_builddir}/unidata.txt" install: charprop.el cp charprop.el ${DSTDIR} @@ -57,7 +58,7 @@ clean: if test -f charprop.el; then \ rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ fi - rm -f charprop.el ${srcdir}/unidata-gen.elc unidata.txt + rm -f charprop.el ${srcdir}/*.elc unidata.txt distclean: clean -rm -f ./Makefile |