3
lib_LTLIBRARIES = libhyphen.la
4
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
5
libhyphen_la_LDFLAGS = -version-info 3:0:3
6
include_HEADERS = hyphen.h
7
noinst_HEADERS = hnjalloc.h
9
noinst_PROGRAMS = substrings example
10
substrings_SOURCES = substrings.c
11
example_SOURCES = example.c
12
example_LDADD = libhyphen.la
14
bin_SCRIPTS = substrings.pl
16
hyphdir = $(datadir)/hyphen
18
# use it if you can recreate hyph_en_US.dic from
19
hyph_DATA = hyph_en_US.dic
21
EXTRA_DIST = checkme.lst hyphen.tex tbhyphext.tex tbhyphext.sh \
22
README.compound README.hyphen README.nonstandard substrings.pl hyphen.patch \
23
COPYING.MPL COPYING.LGPL hyph_en_US.dic README_hyph_en_US.txt lig.awk \
27
cp -f $(srcdir)/hyphen.tex hyphen.us
28
patch < $(srcdir)/hyphen.patch
29
$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
30
cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3
31
cat $(srcdir)/ligpatch.txt >>hyphen.us3
33
hyph_en_US.dic: hyphen.us3
34
perl $(srcdir)/substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null
37
rm -rf hyphen.us* hyph_en_US.dic