changeset 90172:a6b2dca95008

(EMACS): Rename back to Emacs and set to emacs. Caller changed. (all): Depends on ${DSTDIR}/charprop.el. (${DSTDIR}/charprop.el): Run emacs after cd to DISDIR.
author Kenichi Handa <handa@m17n.org>
date Wed, 11 May 2005 12:27:43 +0000
parents 36268d866121
children 2ad2f1b71a5b
files admin/unidata/Makefile
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/admin/unidata/Makefile	Wed May 11 12:23:21 2005 +0000
+++ b/admin/unidata/Makefile	Wed May 11 12:27:43 2005 +0000
@@ -20,20 +20,23 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-TEMACS = ../../src/temacs
+EMACS = ../../src/emacs
 DSTDIR = ../../lisp/international
-RUNEMACS = ${TEMACS} -Q --multibyte -batch
+RUNEMACS = ${EMACS} -Q --multibyte -batch
 
-all: charprop.el
+all: ${DSTDIR}/charprop.el
 
-unidata-gen.elc: unidata-gen.el
-	${RUNEMACS} -f batch-byte-compile ./unidata-gen.el
+.el.elc:
+	${RUNEMACS} -batch -f batch-byte-compile $<
 
 unidata.txt: UnicodeData.txt
 	sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < $< > $@
 
-charprop.el: unidata-gen.elc unidata.txt
-	${RUNEMACS} -l ./unidata-gen.elc -f unidata-gen-files
+${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt
+	ELC=`/bin/pwd`/unidata-gen.elc; \
+	DATA=`/bin/pwd`/unidata.txt; \
+	cd ${DSTDIR}; \
+	${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA}
 
 install: charprop.el
 	cp charprop.el ${DSTDIR}