File: Makefile.am

package info (click to toggle)
hyphen 2.8.3-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,260 kB
  • sloc: sh: 10,068; ansic: 1,409; makefile: 237; perl: 148; awk: 26
file content (37 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SUBDIRS= doc tests

lib_LTLIBRARIES = libhyphen.la
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
libhyphen_la_LDFLAGS = -version-info 2:1:2
include_HEADERS = hyphen.h
noinst_HEADERS = hnjalloc.h

noinst_PROGRAMS = substrings example
substrings_SOURCES = substrings.c
example_SOURCES = example.c
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

EXTRA_DIST = checkme.lst hyphen.tex tbhyphext.tex tbhyphext.sh \
    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 \
    ligpatch.txt

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
	perl $(srcdir)/substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null

clean-local:
	rm -rf hyphen.us* hyph_en_US.dic