# @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 htmex httex httexi htlatex 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