2010-03-04 13:13:53 +01:00
|
|
|
SUBDIRS= doc tests
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libhyphen.la
|
|
|
|
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
|
2013-03-18 11:49:03 +01:00
|
|
|
libhyphen_la_LDFLAGS = -version-info 3:0:3
|
2010-03-04 13:13:53 +01:00
|
|
|
include_HEADERS = hyphen.h
|
|
|
|
noinst_HEADERS = hnjalloc.h
|
|
|
|
|
|
|
|
noinst_PROGRAMS = substrings example
|
2010-07-17 17:57:17 +02:00
|
|
|
substrings_SOURCES = substrings.c
|
2010-07-19 11:23:18 +02:00
|
|
|
example_SOURCES = example.c
|
2010-03-04 13:13:53 +01:00
|
|
|
example_LDADD = libhyphen.la
|
|
|
|
|
|
|
|
bin_SCRIPTS = substrings.pl
|
|
|
|
|
|
|
|
hyphdir = $(datadir)/hyphen
|
|
|
|
|
|
|
|
# use it if you can recreate hyph_en_US.dic from
|
|
|
|
hyph_DATA = hyph_en_US.dic
|
|
|
|
|
2010-07-19 11:23:18 +02:00
|
|
|
EXTRA_DIST = checkme.lst hyphen.tex tbhyphext.tex tbhyphext.sh \
|
2010-03-04 13:13:53 +01:00
|
|
|
README.compound README.hyphen README.nonstandard substrings.pl hyphen.patch \
|
|
|
|
COPYING.MPL COPYING.LGPL hyph_en_US.dic README_hyph_en_US.txt lig.awk \
|
2012-06-29 09:10:58 +02:00
|
|
|
ligpatch.txt
|
2010-03-04 13:13:53 +01:00
|
|
|
|
|
|
|
hyphen.us3:
|
|
|
|
cp -f $(srcdir)/hyphen.tex hyphen.us
|
|
|
|
patch < $(srcdir)/hyphen.patch
|
|
|
|
$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
|
|
|
|
cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3
|
|
|
|
cat $(srcdir)/ligpatch.txt >>hyphen.us3
|
|
|
|
|
|
|
|
hyph_en_US.dic: hyphen.us3
|
2012-06-29 09:10:58 +02:00
|
|
|
perl $(srcdir)/substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null
|
2010-03-04 13:13:53 +01:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf hyphen.us* hyph_en_US.dic
|