summaryrefslogtreecommitdiff
path: root/admin/unidata/Makefile.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-05-26 08:48:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-05-26 08:48:28 -0700
commitcf2f54c4e3d8adb26e3f4b8e9e51364165877444 (patch)
treebad8d1922f69f243af3cfcbab39da993a59b3f0a /admin/unidata/Makefile.in
parent1501bf82b601858f9e270b3aacb4d850ec01e372 (diff)
downloademacs-cf2f54c4e3d8adb26e3f4b8e9e51364165877444.tar.gz
Include sources used to create macuvs.h.
* admin/unidata/IVD_Sequences.txt: New file. * admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): New rule. (all): Build it. (extraclean): Remove it. * admin/unidata/README: Mention BidiMirroring.txt and IVD_Sequences.txt. * admin/unidata/copyright.html: Update to current version from Unicode Consortium. * admin/unidata/uvs.el: Rename from admin/mac/uvs.el. (uvs-print-table-ivd): Output a header in the form that unidata-gen.el generates. * lisp/international/README: Refer to the Unicode Terms of Use rather than copying it bodily here, as that simplifies maintenance. * src/Makefile.in ($(srcdir)/macuvs.h): New rule. * src/macuvs.h: Use automatically-generated header.
Diffstat (limited to 'admin/unidata/Makefile.in')
-rw-r--r--admin/unidata/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in
index 3ad81a94bae..3074864bb68 100644
--- a/admin/unidata/Makefile.in
+++ b/admin/unidata/Makefile.in
@@ -33,7 +33,12 @@ emacs = "${EMACS}" -batch --no-site-file --no-site-lisp
.PHONY: all compile install
-all: ${DSTDIR}/charprop.el
+all: ${top_srcdir}/src/macuvs.h ${DSTDIR}/charprop.el
+
+${top_srcdir}/src/macuvs.h: ${srcdir}/uvs.el ${srcdir}/IVD_Sequences.txt
+ ${EMACS} -batch -l "${srcdir}/uvs.el" \
+ --eval '(uvs-print-table-ivd "${srcdir}/IVD_Sequences.txt" "Adobe-Japan1")' \
+ > $@
.el.elc:
${emacs} -f batch-byte-compile $<
@@ -82,6 +87,7 @@ maintainer-clean: distclean
## change and it slows down bootstrap (a tiny bit).
## Cf leim/ja-dic (which is much slower).
extraclean:
+ rm -f ${top_srcdir}/src/macuvs.h
if test -f ${DSTDIR}/charprop.el; then \
(cd ${DSTDIR} && rm -f `sed -n 's/^;; FILE: //p' < charprop.el`); \
rm -f ${DSTDIR}/charprop.el; \