changeset 90166:3e2ec732efd4

(shortlisp): Add ../lisp/international/charprop.el. (temacs${EXEEXT}): Build charprop.el if necessary. (admindir): New variable. ($(lispsource)international/charprop.el): New target.
author Kenichi Handa <handa@m17n.org>
date Tue, 10 May 2005 02:34:43 +0000
parents 3a9ac0095d7c
children 098f05ddcc64
files src/Makefile.in
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Tue May 10 02:33:00 2005 +0000
+++ b/src/Makefile.in	Tue May 10 02:34:43 2005 +0000
@@ -819,6 +819,7 @@
 	../lisp/international/mule-conf.el \
 	../lisp/international/mule-cmds.elc \
 	../lisp/international/characters.elc \
+	../lisp/international/charprop.el \
 	../lisp/case-table.elc \
 	../lisp/language/chinese.el \
 	../lisp/language/cyrillic.el \
@@ -941,6 +942,22 @@
 	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
     OBJECTS_MACHINE ${LIBES}
+	if test -f $(admindir)/unidata/UnicodeData.txt; then \
+	  $(MAKE) $(MFLAGS) $(lispdir)international/charprop.el; \
+	fi
+
+/* The files charprop.el and uni-*.el in the subdir
+   `../lisp/international' should be re-generated if
+   ../admin/unidata/UnicodeData.txt exists and it's newer than
+   charprop.el.  */
+
+admindir = $(srcdir)/$(dot)$(dot)/admin
+
+$(lispsource)international/charprop.el: $(admindir)/unidata/UnicodeData.txt
+	TEMACS=`/bin/pwd`/temacs${EXEEXT}; \
+	cd $(admindir)/unidata; \
+	$(MAKE) $(MFLAGS) install \
+	  TEMACS=$${TEMACS} DSTDIR=$(lispsource)international
 
 /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
    often contain options that have to do with using Emacs's crt0,