comparison admin/unidata/Makefile.in @ 108983:7e588bac2220

Use BidiMirroring.txt for mirroring characters in bidi context. admin/unidata/bidimirror.awk: New file. admin/unidata/BidiMirroring.txt: New file from http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d1.txt. admin/unidata/Makefile.in: (../../src/bidimirror.h): New target. (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h. admin/unidata/makefile.w32-in (../../src/bidimirror.h): New target. (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h. src/makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and bidimirror.h. src/deps.mk (bidi.o): Depend on biditype.h and bidimirror.h. src/bidi.c (bidi_initialize): Initialize bidi_mirror_table. (bidi_mirror_char): Use bidi_mirror_table.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 12 Jun 2010 18:52:43 +0300
parents 99288c087e4b
children ce960720ed3f
comparison
equal deleted inserted replaced
108982:99288c087e4b 108983:7e588bac2220
21 21
22 EMACS = ../../src/emacs 22 EMACS = ../../src/emacs
23 DSTDIR = ../../lisp/international 23 DSTDIR = ../../lisp/international
24 RUNEMACS = ${EMACS} -Q --multibyte -batch 24 RUNEMACS = ${EMACS} -Q --multibyte -batch
25 25
26 all: ${DSTDIR}/charprop.el ../../src/biditype.h 26 all: ${DSTDIR}/charprop.el ../../src/biditype.h ../../src/bidimirror.h
27 27
28 .el.elc: 28 .el.elc:
29 ${RUNEMACS} -batch -f batch-byte-compile $< 29 ${RUNEMACS} -batch -f batch-byte-compile $<
30 30
31 unidata.txt: UnicodeData.txt 31 unidata.txt: UnicodeData.txt
38 ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA} 38 ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA}
39 39
40 ../../src/biditype.h: UnicodeData.txt 40 ../../src/biditype.h: UnicodeData.txt
41 gawk -F";" -f biditype.awk $< > $@ 41 gawk -F";" -f biditype.awk $< > $@
42 42
43 ../../src/bidimirror.h: BidiMirroring.txt
44 gawk -F"[; ]+" -f bidimirror.awk $< > $@
45
43 install: charprop.el 46 install: charprop.el
44 cp charprop.el ${DSTDIR} 47 cp charprop.el ${DSTDIR}
45 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR} 48 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
46 49
47 clean: 50 clean: