]> code.delx.au - gnu-emacs/commitdiff
* admin/unidata/Makefile.in (abs_srcdir): New, set by configure.
authorGlenn Morris <rgm@gnu.org>
Wed, 30 Oct 2013 06:24:16 +0000 (23:24 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 30 Oct 2013 06:24:16 +0000 (23:24 -0700)
(${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute.
(clean): Delete all .elc files.

admin/ChangeLog
admin/unidata/Makefile.in

index 9d5eda1cadfe30e9c72ce7c1e9b479a525717010..c3b12658b889addaf5088fe720a030d495e4d2e0 100644 (file)
@@ -1,3 +1,9 @@
+2013-10-30  Glenn Morris  <rgm@gnu.org>
+
+       * unidata/Makefile.in (abs_srcdir): New, set by configure.
+       (${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute.
+       (clean): Delete all .elc files.
+
 2013-10-23  Glenn Morris  <rgm@gnu.org>
 
        * unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
index 91fb5a073053e9996b6a4b9c1cdffd65e63c9008..521f66f5bc4bc60a2f7cc71ac2f883e37bca3031 100644 (file)
@@ -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