diff options
| author | Glenn Morris | 2015-06-16 23:43:03 -0700 |
|---|---|---|
| committer | Glenn Morris | 2015-06-16 23:43:03 -0700 |
| commit | d67d49ceb31777cb731a56b9518bf1a1f2a94d25 (patch) | |
| tree | 37aea7063e35326b069c12d9f4c16e5cf172d57f /src | |
| parent | c9e2003b44b446a2f994039d9fc73d387cf6a1df (diff) | |
| download | emacs-d67d49ceb31777cb731a56b9518bf1a1f2a94d25.tar.gz emacs-d67d49ceb31777cb731a56b9518bf1a1f2a94d25.zip | |
Generate char-script-table from Unicode source. (Bug#20789)
* admin/unidata/Makefile.in (AWK): New, set by configure.
(all): Add charscript.el.
(blocks): New variable.
(charscript.el, ${unidir}/charscript.el): New targets.
(extraclean): Also remove generated charscript.el.
* admin/unidata/blocks.awk: New script.
* admin/unidata/Blocks.txt: New data file, from unicode.org.
* lisp/international/characters.el: Load charscript.
* src/Makefile.in (charscript): New variable.
(${charscript}): New target.
(${lispintdir}/characters.elc): Depend on charscript.elc.
(temacs$(EXEEXT)): Depend on charscript.
; * admin/unidata/README: Mention Blocks.txt.
; * .gitignore: Add lisp/international/charscript.el.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 172fa8e47cd..e5c5ddbcbc6 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -488,6 +488,12 @@ charsets = ${top_srcdir}/admin/charsets/charsets.stamp | |||
| 488 | ${charsets}: FORCE | 488 | ${charsets}: FORCE |
| 489 | ${MAKE} -C ../admin/charsets all | 489 | ${MAKE} -C ../admin/charsets all |
| 490 | 490 | ||
| 491 | charscript = ${lispintdir}/charscript.el | ||
| 492 | ${charscript}: FORCE | ||
| 493 | $(MAKE) -C ../admin/unidata $(notdir $@) | ||
| 494 | |||
| 495 | ${lispintdir}/characters.elc: ${charscript:.el=.elc} | ||
| 496 | |||
| 491 | ## The dumped Emacs is as functional and more efficient than | 497 | ## The dumped Emacs is as functional and more efficient than |
| 492 | ## bootstrap-emacs, so we replace the latter with the former. | 498 | ## bootstrap-emacs, so we replace the latter with the former. |
| 493 | ## Strictly speaking, emacs does not depend directly on all of $lisp, | 499 | ## Strictly speaking, emacs does not depend directly on all of $lisp, |
| @@ -557,7 +563,7 @@ $(lib)/libgnu.a: $(config_h) | |||
| 557 | ## This goes on to affect various things, and the emacs binary fails | 563 | ## This goes on to affect various things, and the emacs binary fails |
| 558 | ## to start if Vinstallation_directory has the wrong value. | 564 | ## to start if Vinstallation_directory has the wrong value. |
| 559 | temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) \ | 565 | temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) \ |
| 560 | $(lib)/libgnu.a $(EMACSRES) ${charsets} | 566 | $(lib)/libgnu.a $(EMACSRES) ${charsets} ${charscript} |
| 561 | $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ | 567 | $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \ |
| 562 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) | 568 | -o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES) |
| 563 | $(MKDIR_P) $(etc) | 569 | $(MKDIR_P) $(etc) |