summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/texlive/linked_scripts/ChangeLog6
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am9
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in23
-rw-r--r--Build/source/texk/texlive/linked_scripts/README4
4 files changed, 27 insertions, 15 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ChangeLog b/Build/source/texk/texlive/linked_scripts/ChangeLog
index 7f0ec1efac5..36c6a882dc3 100644
--- a/Build/source/texk/texlive/linked_scripts/ChangeLog
+++ b/Build/source/texk/texlive/linked_scripts/ChangeLog
@@ -1,5 +1,11 @@
2011-12-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+ * Makefile.am: Rename the target scripts.tmp into scripts-list
+ and make it available independent of maintainer mode.
+ * README: Mention 'make scripts-list'.
+
+2011-12-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+
* Makefile.am: More ${prefix} => $(datarootdir).
2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index 507ce1cc115..2fe12db5544 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -7,9 +7,7 @@
## Build lists of texmf and texmf-dist scripts.
##
-if MAINTAINER_MODE
-all-local: scripts.tmp
-scripts.tmp: Makefile
+scripts-list: Makefile
echo "Create $@"
@echo "texmf_scripts='" >$@
@for f in $(nobase_dist_texmf_scripts_SCRIPTS); do echo "$$f"; done >>$@
@@ -18,11 +16,14 @@ scripts.tmp: Makefile
@for f in $(nobase_dist_texmf_dist_scripts_SCRIPTS); do echo "$$f"; done >>$@
@echo "'" >>$@
cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+
+if MAINTAINER_MODE
+all-local: scripts-list
else !MAINTAINER_MODE
all-local:
endif !MAINTAINER_MODE
-DISTCLEANFILES = scripts.tmp
+DISTCLEANFILES = scripts-list
EXTRA_DIST = scripts.lst
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 1147aa742d8..52701ea3281 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -164,7 +164,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-DISTCLEANFILES = scripts.tmp
+DISTCLEANFILES = scripts-list
# The idea is to install the scripts themselves in texmf*/scripts, and
# have bin/arch/foo be a symlink to, say,
@@ -614,16 +614,17 @@ uninstall-am: uninstall-binSCRIPTS \
uninstall-nobase_dist_texmf_scriptsSCRIPTS
-@MAINTAINER_MODE_TRUE@all-local: scripts.tmp
-@MAINTAINER_MODE_TRUE@scripts.tmp: Makefile
-@MAINTAINER_MODE_TRUE@ echo "Create $@"
-@MAINTAINER_MODE_TRUE@ @echo "texmf_scripts='" >$@
-@MAINTAINER_MODE_TRUE@ @for f in $(nobase_dist_texmf_scripts_SCRIPTS); do echo "$$f"; done >>$@
-@MAINTAINER_MODE_TRUE@ @echo "'" >>$@
-@MAINTAINER_MODE_TRUE@ @echo "texmf_dist_scripts='" >>$@
-@MAINTAINER_MODE_TRUE@ @for f in $(nobase_dist_texmf_dist_scripts_SCRIPTS); do echo "$$f"; done >>$@
-@MAINTAINER_MODE_TRUE@ @echo "'" >>$@
-@MAINTAINER_MODE_TRUE@ cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+scripts-list: Makefile
+ echo "Create $@"
+ @echo "texmf_scripts='" >$@
+ @for f in $(nobase_dist_texmf_scripts_SCRIPTS); do echo "$$f"; done >>$@
+ @echo "'" >>$@
+ @echo "texmf_dist_scripts='" >>$@
+ @for f in $(nobase_dist_texmf_dist_scripts_SCRIPTS); do echo "$$f"; done >>$@
+ @echo "'" >>$@
+ cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+
+@MAINTAINER_MODE_TRUE@all-local: scripts-list
@MAINTAINER_MODE_FALSE@all-local:
install-data-hook:
@WIN32_TRUE@ @for s in $(texmf_other_scripts) $(texmf_dist_other_scripts); do \
diff --git a/Build/source/texk/texlive/linked_scripts/README b/Build/source/texk/texlive/linked_scripts/README
index b64374105ab..d512a83ddb5 100644
--- a/Build/source/texk/texlive/linked_scripts/README
+++ b/Build/source/texk/texlive/linked_scripts/README
@@ -25,3 +25,7 @@ Steps to add a new script (take your time, do it right):
already used (generally the latest official releases). And if you
have installed the original versions straight from ftp.gnu.org for
yourself -- don't use versions from distro packages.
+
+* make -C BLD/texk/texlive/linked_scripts scripts-list
+ where BLD is the build tree, to update the file scripts.lst in the
+ source tree (or manually update that file).