summaryrefslogtreecommitdiff
path: root/Build/source/texk/tex4htk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
commit0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch)
treee8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/tex4htk
parentee507bbd1fc483c58acb33cca25509a4dd81df9b (diff)
prepare for new build system
git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tex4htk')
-rw-r--r--Build/source/texk/tex4htk/Makefile.in.orig79
-rw-r--r--Build/source/texk/tex4htk/ac/withenable.ac3
-rw-r--r--Build/source/texk/tex4htk/configure.in.orig11
3 files changed, 93 insertions, 0 deletions
diff --git a/Build/source/texk/tex4htk/Makefile.in.orig b/Build/source/texk/tex4htk/Makefile.in.orig
new file mode 100644
index 00000000000..d7859d85fda
--- /dev/null
+++ b/Build/source/texk/tex4htk/Makefile.in.orig
@@ -0,0 +1,79 @@
+# @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
+shell_scripts = htcontext htlatex htmex httex httexi htxelatex htxetex ht
+perl_scripts = 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
+ $(INSTALL) -d "$(prefix)/texmf-dist/scripts/tex4ht"
+ for p in $(shell_scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p.sh"; done
+ for p in $(perl_scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p.pl"; done
+ if test -d "$(bindir)/../../texmf-dist/scripts/tex4ht"; then \
+ d=../../texmf-dist/scripts/tex4ht; \
+ elif test -d "$(bindir)/../texmf-dist/scripts/tex4ht"; then \
+ d=../texmf-dist/scripts/tex4ht; \
+ else \
+ echo "Error: texmf-dist/scripts/tex4ht directory not found" >&2; \
+ exit 1; \
+ fi; \
+ for p in $(shell_scripts); do rm -f $(bindir)/$$p; ln -s $$d/$$p.sh $(bindir)/$$p; done; \
+ for p in $(perl_scripts); do rm -f $(bindir)/$$p; ln -s $$d/$$p.pl $(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
diff --git a/Build/source/texk/tex4htk/ac/withenable.ac b/Build/source/texk/tex4htk/ac/withenable.ac
new file mode 100644
index 00000000000..d2396d98304
--- /dev/null
+++ b/Build/source/texk/tex4htk/ac/withenable.ac
@@ -0,0 +1,3 @@
+## texk/tex4htk/ac/withenable.ac
+## configure options and TL libraries required for tex4htk
+KPSE_WITH_PROG([tex4htk], [kpathsea])
diff --git a/Build/source/texk/tex4htk/configure.in.orig b/Build/source/texk/tex4htk/configure.in.orig
new file mode 100644
index 00000000000..4a988f8dab2
--- /dev/null
+++ b/Build/source/texk/tex4htk/configure.in.orig
@@ -0,0 +1,11 @@
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(tex4ht.c)
+AC_CONFIG_HEADERS([c-auto.h:c-auto.in], [date >stamp-auto])
+
+sinclude(../kpathsea/common.ac)
+
+AC_CHECK_SIZEOF(int)
+
+KPSE_CONFIG_FILES([Makefile])
+AC_OUTPUT