aboutsummaryrefslogtreecommitdiffstats
path: root/admin/unidata
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2005-05-11 12:27:43 +0000
committerKenichi Handa <[email protected]>2005-05-11 12:27:43 +0000
commitf23df5a0cf9c261a0d89e43d5dca52c31ff8746c (patch)
tree964358b52006209e184937214afa77b051a22908 /admin/unidata
parent3579a658f8c873568b65ed491ba3452d53c60cdf (diff)
(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.
Diffstat (limited to 'admin/unidata')
-rw-r--r--admin/unidata/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/admin/unidata/Makefile b/admin/unidata/Makefile
index b14c299465..c8ccea8b91 100644
--- a/admin/unidata/Makefile
+++ b/admin/unidata/Makefile
@@ -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}