summaryrefslogtreecommitdiffstats
path: root/unicode/Makefile.am
diff options
context:
space:
mode:
authorSam Varshavchik2020-07-04 20:01:49 -0400
committerSam Varshavchik2020-07-12 15:56:45 -0400
commitacd2a932df810d7db2037e3962feb61ca21e2781 (patch)
tree8f8f3fc757ff93ba4e2ecd9730451ccf6d945055 /unicode/Makefile.am
parentd57946b6a21b33f26f189951e1c30ca901581b90 (diff)
downloadcourier-libs-acd2a932df810d7db2037e3962feb61ca21e2781.tar.bz2
Implement the Unicode bidirectional algorithm.
Diffstat (limited to 'unicode/Makefile.am')
-rw-r--r--unicode/Makefile.am16
1 files changed, 15 insertions, 1 deletions
diff --git a/unicode/Makefile.am b/unicode/Makefile.am
index 30af049..397987c 100644
--- a/unicode/Makefile.am
+++ b/unicode/Makefile.am
@@ -10,6 +10,7 @@ noinst_SCRIPTS=update.sh \
mkcommon.pm \
mkbidi.pl \
mkbidiclass.pl \
+ mkbidiclassnames.pl \
mkeastasianwidth.pl \
mkemojidata.pl \
mkgraphemebreak.pl \
@@ -35,6 +36,11 @@ update-www:
@$(MAKE) update-www-htmlent
@$(MAKE) update-www-categories
@$(MAKE) update-www-bidi
+ @$(MAKE) update-www-unicode-copyright
+
+update-www-unicode-copyright:
+ links -dump https://www.unicode.org/license.html >UNICODE-LICENSE.txt.tmp
+ mv UNICODE-LICENSE.txt.tmp UNICODE-LICENSE.txt
update-www-unicode:
@SHELL@ $(srcdir)/update.sh UnicodeData.txt http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
@@ -72,6 +78,7 @@ update-www-bidi:
@SHELL@ $(srcdir)/update.sh BidiBrackets.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiBrackets.txt
@SHELL@ $(srcdir)/update.sh BidiMirroring.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiMirroring.txt
@SHELL@ $(srcdir)/update.sh DerivedBidiClass.txt https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedBidiClass.txt
+ @SHELL@ $(srcdir)/update.sh BidiTest.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiTest.txt
lib_LTLIBRARIES=libcourier-unicode.la
include_HEADERS=courier-unicode.h \
@@ -117,6 +124,7 @@ BUILT_SOURCES=unicode_ultcasetab.c \
bidi_brackets.h \
bidi_brackets_v.h \
bidi_class.h \
+ bidi_classnames.h \
bidi_mirroring.h \
categoriestab.h \
eastasianwidth.h \
@@ -176,6 +184,11 @@ bidi_class.h: DerivedBidiClass.txt mkbidiclass.pl mkcommon.pm
bidi_mirroring.h: BidiMirroring.txt mkbidi.pl
@PERL@ -I$(srcdir) $(srcdir)/mkbidi.pl BidiMirroring.txt >bidi_mirroring.h.tmp
mv bidi_mirroring.h.tmp bidi_mirroring.h
+
+bidi_classnames.h: unicode_bidi.c mkbidiclassnames.pl
+ @PERL@ $(srcdir)/mkbidiclassnames.pl <$(srcdir)/unicode_bidi.c >bidi_classnames.h.tmp
+ mv bidi_classnames.h.tmp bidi_classnames.h
+
endif
unicodetest_SOURCES=unicodetest.c
@@ -208,7 +221,7 @@ scripttest_DEPENDENCIES=libcourier-unicode.la
scripttest_LDADD=libcourier-unicode.la
scripttest_LDFLAGS=-static
-biditest_SOURCES=biditest.C
+biditest_SOURCES=biditest.C bidi_classnames.h
biditest_DEPENDENCIES=libcourier-unicode.la
biditest_LDADD=libcourier-unicode.la
biditest_LDFLAGS=-static
@@ -283,6 +296,7 @@ check-am: unicodetest
test "`./biditest 30`" = "30 30 n"
test "`./biditest 8261`" = "8262 8262 o"
test "`./biditest 8262`" = "8261 8261 c"
+ ./biditest
if HAVE_DOCS