summaryrefslogtreecommitdiff
path: root/Build/source/texk/tex4htk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-02 13:04:59 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-02 13:04:59 +0000
commit9b5f1f3915e6c11001ef9c48efd372e93cbf7ab3 (patch)
treeaaf656fe5193c6e7c5fbd62221c29e007a21f30e /Build/source/texk/tex4htk
parent2d11fdfd2797f0674e1ffc420b1cfa5bcc1732ce (diff)
update
git-svn-id: svn://tug.org/texlive/trunk@22281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tex4htk')
-rw-r--r--Build/source/texk/tex4htk/Makefile.in53
1 files changed, 24 insertions, 29 deletions
diff --git a/Build/source/texk/tex4htk/Makefile.in b/Build/source/texk/tex4htk/Makefile.in
index 79f7d1842c9..ef5c9ac5868 100644
--- a/Build/source/texk/tex4htk/Makefile.in
+++ b/Build/source/texk/tex4htk/Makefile.in
@@ -266,7 +266,7 @@ perl_scripts = mk4ht
shell_scripts = ht htcontext htlatex htmex httex httexi htxelatex htxetex
scriptsdir = texmf-dist/scripts/tex4ht
nodist_bin_SCRIPTS = $(am__append_1)
-all_scripts = $(perl_scripts) $(shell_scripts)
+all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts)
@WIN32_TRUE@@WIN32_WRAP_TRUE@wrappers = $(all_scripts:=.exe)
@WIN32_TRUE@@WIN32_WRAP_TRUE@runscript = $(top_srcdir)/../../texk/texlive/w32_wrapper/runscript.exe
texmfdir = ${prefix}/$(scriptsdir)
@@ -973,43 +973,38 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_binSCRIPTS \
$(t4ht_OBJECTS) $(tex4ht_OBJECTS): $(KPATHSEA_DEPEND)
@KPATHSEA_RULE@
-.PHONY: install-perl-links make-perl-links \
- install-shell-links make-shell-links uninstall-links
+
+#
+.PHONY: install-lua-links install-perl-links install-shell-links \
+ install-links make-links uninstall-links
@WIN32_TRUE@@WIN32_WRAP_TRUE@$(wrappers): $(runscript)
@WIN32_TRUE@@WIN32_WRAP_TRUE@ $(LN_S) $(runscript) $@
-# We support both multiplatform and non-multiplatform builds.
+install-lua-links:
+@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=lua EXT=lua install-links
+
install-perl-links:
-@WIN32_FALSE@ case "$(bindir)" in \
-@WIN32_FALSE@ */bin) $(MAKE) $(AM_MAKEFLAGS) REL=.. make-perl-links;; \
-@WIN32_FALSE@ */bin/*) $(MAKE) $(AM_MAKEFLAGS) REL=../.. make-perl-links;; \
-@WIN32_FALSE@ *) echo "strange directory '$(bindir)' for linked scripts" >&2; \
-@WIN32_FALSE@ exit 1;; \
-@WIN32_FALSE@ esac
+@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=perl EXT=pl install-links
install-shell-links:
-@WIN32_FALSE@ case "$(bindir)" in \
-@WIN32_FALSE@ */bin) $(MAKE) $(AM_MAKEFLAGS) REL=.. make-shell-links;; \
-@WIN32_FALSE@ */bin/*) $(MAKE) $(AM_MAKEFLAGS) REL=../.. make-shell-links;; \
-@WIN32_FALSE@ *) echo "strange directory '$(bindir)' for linked scripts" >&2; \
-@WIN32_FALSE@ exit 1;; \
-@WIN32_FALSE@ esac
-
-make-perl-links:
- @cd $(DESTDIR)$(bindir) && \
- for f in $(perl_scripts); do \
- rm -f $$f; \
- echo "creating link '$$f' -> '$(REL)/$(scriptsdir)/$$f.pl'"; \
- $(LN_S) $(REL)/$(scriptsdir)/$$f.pl $$f || exit 1; \
- done
+@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=shell EXT=sh install-links
-make-shell-links:
+# We support both multiplatform and non-multiplatform builds.
+install-links:
+ case "$(bindir)" in \
+ */bin) $(MAKE) $(AM_MAKEFLAGS) REL=.. TYPE=$(TYPE) EXT=$(EXT) make-links;; \
+ */bin/*) $(MAKE) $(AM_MAKEFLAGS) REL=../.. TYPE=$(TYPE) EXT=$(EXT) make-links;; \
+ *) echo "strange directory '$(bindir)' for linked $(TYPE) scripts" >&2; \
+ exit 1;; \
+ esac
+
+make-links:
@cd $(DESTDIR)$(bindir) && \
- for f in $(shell_scripts); do \
+ for f in $($(TYPE)_scripts); do \
rm -f $$f; \
- echo "creating link '$$f' -> '$(REL)/$(scriptsdir)/$$f.sh'"; \
- $(LN_S) $(REL)/$(scriptsdir)/$$f.sh $$f || exit 1; \
- done
+ echo "creating link '$$f' -> '$(REL)/$(scriptsdir)/$$f.$(EXT)'"; \
+ $(LN_S) $(REL)/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
+ done
uninstall-links:
@WIN32_FALSE@ @for f in $(all_scripts); do \