summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-08 23:42:10 +0000
committerKarl Berry <karl@freefriends.org>2012-09-08 23:42:10 +0000
commit51134fdc52d6670fdb0ba1503dd16210f2a537ae (patch)
treea66beccdd8613213c4a8ebf7d1230199255060b0 /Build
parentdec0beb77f2062b8eaadbdd146471de0c03a5d09 (diff)
only maintain list of sh scripts in one place
git-svn-id: svn://tug.org/texlive/trunk@27619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/ChangeLog5
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am10
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in6
3 files changed, 20 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ChangeLog b/Build/source/texk/texlive/linked_scripts/ChangeLog
index 9007574d761..5677b0126f5 100644
--- a/Build/source/texk/texlive/linked_scripts/ChangeLog
+++ b/Build/source/texk/texlive/linked_scripts/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-09 Karl Berry <karl@tug.org>
+
+ * Makefile.am (echo-shell-scripts): new target for
+ check-wrapper-consistency.
+
2012-08-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (installdirs-local): Make sure $(bindir) exists.
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index 9f4354ef8dc..ca6407cfd3d 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -356,8 +356,16 @@ xupdmap.1: tetex/updmap.help2man tetex/updmap.pl
EXTRA_DIST += tetex/updmap.help2man
##
-.PHONY: run-texlinks
+## This target is invoked by check-wrapper-consistency (run from cron).
+.PHONY: echo-shell-scripts
+shell_scripts = $(texmf_shell_scripts) $(texmf_dist_shell_scripts)
+shell_scripts += $(texmf_dist_context_scripts)
+echo-shell-scripts:
+ @echo $(shell_scripts)
+
+##
## This target is invoked by the top-level make,
+.PHONY: run-texlinks
## to create the per-format engine symlinks in $(bindir),
## after everything else is installed. We explicitly specify the
## fmtutil.cnf file to use for the sake of distro builds.
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index d7b92171778..3afecb3100f 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -411,6 +411,8 @@ relpath = $(SHELL) $(top_srcdir)/../../build-aux/relpath
runscript = $(top_srcdir)/w32_wrapper/runscript.exe
ctxscript = $(top_srcdir)/w32_wrapper/context/mtxrun.exe
@WIN32_TRUE@WINEXT = $(EXEEXT)
+shell_scripts = $(texmf_shell_scripts) $(texmf_dist_shell_scripts) \
+ $(texmf_dist_context_scripts)
run_texlinks = $(DESTDIR)$(bindir)/texlinks -v \
-f $(DESTDIR)$(web2cdir)/fmtutil.cnf \
-e "$(EXEEXT)" $(DESTDIR)$(bindir)
@@ -991,6 +993,10 @@ xupdmap.1: tetex/updmap.help2man tetex/updmap.pl
help2man --include=$< --source="TeX Live" --no-info \
$(srcdir)/tetex/updmap.pl >/tmp/$@
+.PHONY: echo-shell-scripts
+echo-shell-scripts:
+ @echo $(shell_scripts)
+
.PHONY: run-texlinks
run-texlinks:
@WIN32_FALSE@ PATH="$(DESTDIR)$(bindir):$(PATH)"; export PATH; $(run_texlinks)