# HG changeset patch # User Kenichi Handa # Date 1115692483 0 # Node ID 3e2ec732efd4179e13b326da36fd4d67b5c015be # Parent 3a9ac0095d7cc54101aa347eebb565e80e334aad (shortlisp): Add ../lisp/international/charprop.el. (temacs${EXEEXT}): Build charprop.el if necessary. (admindir): New variable. ($(lispsource)international/charprop.el): New target. diff -r 3a9ac0095d7c -r 3e2ec732efd4 src/Makefile.in --- 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,