summaryrefslogtreecommitdiff
path: root/Build/source/texk/tex4htk/Makefile.in
blob: a96a5b4f29524145eac6839c4eba9d645de05605 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# @configure_input@
# Makefile for tex4ht in TeX Live.  Public domain.
# Originally written by S. Rahtz.
version = 1.0

kpse_include ../make/paths.mk
kpse_include ../make/common.mk
kpse_include ../make/programs.mk
kpse_include ../make/texi.mk
prog_cflags = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes

objects = tex4ht.o t4ht.o

programs = tex4ht t4ht 
scripts = htcontext htlatex htmex httex httexi htxelatex htxetex ht mk4ht


default all: $(programs)  

t4ht: $(kpathsea) t4ht.o
	$(kpathsea_link) t4ht.o $(LOADLIBES)

tex4ht: $(kpathsea) tex4ht.o
	$(kpathsea_link) tex4ht.o $(LOADLIBES)

kpse_include ../make/tkpathsea.mk

install: install-exec install-data

uninstall: uninstall-exec uninstall-data

install-exec: all
	$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
	for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
	for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/$$p; done

uninstall-exec:
	for p in $(programs) $(scripts); do rm -f $(bindir)/$$p; done

install-data:

uninstall-data:

distname = tex4ht

kpse_include ../make/dist.mk
kpse_include ../make/config.mk
kpse_include ../make/clean.mk
distclean::
	-rm v*.tex *.txt i*.tex *.gif *.toc *.otc *.lg *.xref *.html *.idv *.log *.aux tmp.* tex4ht.env

dvi info check: 

maybecheck:
	TEXINPUTS=$(srcdir): $(SHELL) $(srcdir)/ht latex test


tex4ht.env: tex4ht.in
	sed -e "s;@texmf@;$(texmf);" < $(srcdir)/tex4ht.in \
	| sed -e "s;@prefix@;$(prefix);g" \
	| sed -e "s;@imbindir@.;;g" \
	| sed -e "s/Mmove/Mmv/" \
	| sed -e "s/Ccopy/Ccp/" \
	> tex4ht.env

kpse_include ../make/rdepend.mk
kpse_include depend.mk