summaryrefslogtreecommitdiff
path: root/Build/source/texk/tex4htk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-20 10:15:32 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-20 10:15:32 +0000
commitd7f8ab6ea1a683492b985013a541ab11e33b9f73 (patch)
treea8b719cba4c45e2e308b53ebbd0ebb313a7cbf36 /Build/source/texk/tex4htk
parent9d502c516fe61658f540e6b98621632b91deb53c (diff)
new build system
git-svn-id: svn://tug.org/texlive/trunk@12458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tex4htk')
-rw-r--r--Build/source/texk/tex4htk/Makefile.am177
-rw-r--r--Build/source/texk/tex4htk/configure.ac37
2 files changed, 214 insertions, 0 deletions
diff --git a/Build/source/texk/tex4htk/Makefile.am b/Build/source/texk/tex4htk/Makefile.am
new file mode 100644
index 00000000000..9fa6b992882
--- /dev/null
+++ b/Build/source/texk/tex4htk/Makefile.am
@@ -0,0 +1,177 @@
+##
+ACLOCAL_AMFLAGS = -I ../../m4
+
+INCLUDES = $(KPATHSEA_INCLUDES)
+AM_CPPFLAGS = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes
+
+bin_PROGRAMS = t4ht tex4ht
+
+t4ht_SOURCES = t4ht.c
+
+t4ht_DEPENDENCIES = $(KPATHSEA_DEPEND)
+
+tex4ht_SOURCES = tex4ht.c
+
+tex4ht_DEPENDENCIES = $(KPATHSEA_DEPEND)
+
+LDADD = $(KPATHSEA_LIBS)
+
+## Rebuild libkpathsea
+@KPATHSEA_RULE@
+
+perl_scripts = mk4ht
+shell_scripts = ht htcontext htlatex htmex httex httexi htxelatex htxetex
+
+EXTRA_DIST = $(perl_scripts) $(shell_scripts)
+
+install-exec-hook:
+ $(mkdir_p) "$(DESTDIR)$(tex4htdir)" "$(DESTDIR)$(bindir)"
+ @for p in $(perl_scripts); do \
+ echo "$(INSTALL_SCRIPT) $(srcdir)/$$p '$(DESTDIR)$(tex4htdir)/$$p.pl'"; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$p "$(DESTDIR)$(tex4htdir)/$$p.pl"; \
+ done
+ @for p in $(shell_scripts); do \
+ echo "$(INSTALL_SCRIPT) $(srcdir)/$$p '$(DESTDIR)$(tex4htdir)/$$p.sh'"; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$p "$(DESTDIR)$(tex4htdir)/$$p.sh"; \
+ done
+ @cd $(DESTDIR)$(bindir) && \
+ for p in $(perl_scripts); do \
+ echo "$(LN_S) $(tex4htrel)/$$p.pl $$p"; \
+ rm -f $$p; $(LN_S) $(tex4htrel)/$$p.pl $$p; \
+ done; \
+ for p in $(shell_scripts); do \
+ echo "$(LN_S) $(tex4htrel)/$$p.sh $$p"; \
+ rm -f $$p; $(LN_S) $(tex4htrel)/$$p.sh $$p; \
+ done
+
+uninstall-hook:
+ @for p in $(perl_scripts) $(shell_scripts); do \
+ echo "rm -f '$(DESTDIR)$(bindir)/$$p'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$p"; \
+ done
+ @for p in $(perl_scripts:=.pl) $(shell_scripts:=.sh); do \
+ echo "rm -f '$(DESTDIR)$(tex4htdir)/$$p'"; \
+ rm -f "$(DESTDIR)$(tex4htdir)/$$p"; \
+ done
+
+## Not used
+##
+EXTRA_DIST += \
+ dbcontext \
+ dblatex \
+ dbmcontext \
+ dbmex \
+ dbmlatex \
+ dbmmex \
+ dbmtex \
+ dbmtexi \
+ dbmxelatex \
+ dbmxetex \
+ dbtex \
+ dbtexi \
+ dbxelatex \
+ dbxetex \
+ demo.tex \
+ escontext \
+ eslatex \
+ esmex \
+ estex \
+ estexi \
+ esxelatex \
+ esxetex \
+ htcmd.c \
+ java \
+ jh1context \
+ jh1latex \
+ jh1mex \
+ jh1tex \
+ jh1texi \
+ jh1xelatex \
+ jh1xetex \
+ jhcontext \
+ jhlatex \
+ jhmex \
+ jhtex \
+ jhtexi \
+ jhxelatex \
+ jhxetex \
+ jmcontext \
+ jmlatex \
+ jmmex \
+ jmtex \
+ jmtexi \
+ jmxelatex \
+ jmxetex \
+ jscontext \
+ jslatex \
+ jsmex \
+ jstex \
+ jstexi \
+ jsxelatex \
+ jsxetex \
+ mzcontext \
+ mzlatex \
+ mzmex \
+ mztex \
+ mztexi \
+ mzxelatex \
+ mzxetex \
+ oocontext \
+ oolatex \
+ oomex \
+ ootex \
+ ootexi \
+ ooxelatex \
+ ooxetex \
+ teicontext \
+ teilatex \
+ teimcontext \
+ teimex \
+ teimlatex \
+ teimmex \
+ teimtex \
+ teimtexi \
+ teimxelatex \
+ teimxetex \
+ teitex \
+ teitexi \
+ teixelatex \
+ teixetex \
+ test.tex \
+ test1.tex \
+ testa.tex \
+ testb.tex \
+ uxhcontext \
+ uxhlatex \
+ uxhmex \
+ uxhtex \
+ uxhtexi \
+ uxhxelatex \
+ uxhxetex \
+ wcontext \
+ wlatex \
+ wmex \
+ wtex \
+ wtexi \
+ wxelatex \
+ wxetex \
+ xhcontext \
+ xhlatex \
+ xhmcontext \
+ xhmex \
+ xhmlatex \
+ xhmmex \
+ xhmtex \
+ xhmtexi \
+ xhmxelatex \
+ xhmxetex \
+ xhtex \
+ xhtexi \
+ xhxelatex \
+ xhxetex \
+ xv4ht.java
+
+## Eventually delete these files
+##
+EXTRA_DIST += Makefile.in.orig configure.in.orig
+
diff --git a/Build/source/texk/tex4htk/configure.ac b/Build/source/texk/tex4htk/configure.ac
new file mode 100644
index 00000000000..f997cc9dde6
--- /dev/null
+++ b/Build/source/texk/tex4htk/configure.ac
@@ -0,0 +1,37 @@
+dnl Process this file with autoconf to produce a configure script.
+dnl
+dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+dnl
+dnl This file is free software; the copyright holder
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+AC_INIT([tex4ht for TeX Live], [20080225], [tex-k@tug.org])
+AC_PREREQ([2.63])
+AC_CONFIG_SRCDIR([tex4ht.c])
+AC_CONFIG_AUX_DIR([../../build-aux])
+AC_CONFIG_MACRO_DIR([../../m4])
+
+dnl Common code for all programs using libkpathsea.
+KPSE_COMMON([tex4htk])
+
+AC_CONFIG_HEADERS([c-auto.h:c-auto.in])
+
+AC_CHECK_SIZEOF([int])
+
+KPSE_KPATHSEA_FLAGS
+
+tex4ht_subdir='texmf-dist/scripts/tex4ht'
+tex4htdir="\${prefix}/$tex4ht_subdir"
+AC_SUBST([tex4htdir])
+dnl This is not quite right, should actually be decided by 'make install'
+if test "x$bindir" = 'x${exec_prefix}/bin'; then
+ tex4htrel="../$tex4ht_subdir"
+else
+ tex4htrel="../../$tex4ht_subdir"
+fi
+AC_SUBST([tex4htrel])
+
+AC_CONFIG_FILES([Makefile])
+
+AC_OUTPUT