1## Makefile.am for the TeX Live subdirectory texk/tex4htk/
2##
3## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
4## You may freely use, modify and/or distribute this file.
5##
6## We distribute the whole java tree.
7EXTRA_DIST = java
8
9# Files not to be distributed
10include $(srcdir)/../../am/dist_hook.am
11
12AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DANSI -DKPATHSEA
13AM_CFLAGS = $(WARNING_CFLAGS)
14
15bin_PROGRAMS = t4ht tex4ht
16
17t4ht_SOURCES = t4ht.c
18
19tex4ht_SOURCES = tex4ht.c
20
21$(t4ht_OBJECTS) $(tex4ht_OBJECTS): $(KPATHSEA_DEPEND)
22
23LDADD = $(KPATHSEA_LIBS)
24
25## Rebuild libkpathsea
26@KPATHSEA_RULE@
27
28perl_scripts = mk4ht
29shell_scripts = ht htcontext htlatex htmex httex httexi htxelatex htxetex
30scriptsdir = texmf-dist/scripts/tex4ht
31nodist_bin_SCRIPTS =
32
33include $(srcdir)/../../am/script_links.am
34
35texmfdir = $(datarootdir)/$(scriptsdir)
36dist_texmf_SCRIPTS = $(perl_scripts:=.pl) $(shell_scripts:=.sh)
37
38install-data-hook: install-perl-links install-shell-links
39uninstall-hook: uninstall-links
40
41if WIN32
42dist_bin_SCRIPTS = $(shell_scripts:=.bat)
43endif WIN32
44
45CLEANFILES = $(nodist_bin_SCRIPTS)
46
47## Not used
48##
49EXTRA_DIST += \
50	dbcontext \
51	dblatex \
52	dbmcontext \
53	dbmex \
54	dbmlatex \
55	dbmmex \
56	dbmtex \
57	dbmtexi \
58	dbmxelatex \
59	dbmxetex \
60	dbtex \
61	dbtexi \
62	dbxelatex \
63	dbxetex \
64	demo.tex \
65	escontext \
66	eslatex \
67	esmex \
68	estex \
69	estexi \
70	esxelatex \
71	esxetex \
72	jh1context \
73	jh1latex \
74	jh1mex \
75	jh1tex \
76	jh1texi \
77	jh1xelatex \
78	jh1xetex \
79	jhcontext \
80	jhlatex \
81	jhmex \
82	jhtex \
83	jhtexi \
84	jhxelatex \
85	jhxetex \
86	jmcontext \
87	jmlatex \
88	jmmex \
89	jmtex \
90	jmtexi \
91	jmxelatex \
92	jmxetex \
93	jscontext \
94	jslatex \
95	jsmex \
96	jstex \
97	jstexi \
98	jsxelatex \
99	jsxetex \
100	mzcontext \
101	mzlatex \
102	mzmex \
103	mztex \
104	mztexi \
105	mzxelatex \
106	mzxetex \
107	oocontext \
108	oolatex \
109	oomex \
110	ootex \
111	ootexi \
112	ooxelatex \
113	ooxetex \
114	teicontext \
115	teilatex \
116	teimcontext \
117	teimex \
118	teimlatex \
119	teimmex \
120	teimtex \
121	teimtexi \
122	teimxelatex \
123	teimxetex \
124	teitex \
125	teitexi \
126	teixelatex \
127	teixetex \
128	test.tex \
129	test1.tex \
130	testa.tex \
131	testb.tex \
132	uxhcontext \
133	uxhlatex \
134	uxhmex \
135	uxhtex \
136	uxhtexi \
137	uxhxelatex \
138	uxhxetex \
139	wcontext \
140	wlatex \
141	wmex \
142	wtex \
143	wtexi \
144	wxelatex \
145	wxetex \
146	xhcontext \
147	xhlatex \
148	xhmcontext \
149	xhmex \
150	xhmlatex \
151	xhmmex \
152	xhmtex \
153	xhmtexi \
154	xhmxelatex \
155	xhmxetex \
156	xhtex \
157	xhtexi \
158	xhxelatex \
159	xhxetex \
160	xv4ht.java
161
162