summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-03-01 09:09:21 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-03-01 09:09:21 +0000
commitdaa39d7bb94a351fd49f9afcb59233a232367860 (patch)
tree80260014e068b72b86f2778edfd6807b0fb5a081 /Build/source
parentf195bce71572b59a03049c30d94ae10195d070dc (diff)
build list of linked scripts
git-svn-id: svn://tug.org/texlive/trunk@21560 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/texlive/linked_scripts/ChangeLog5
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am19
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in27
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst2
4 files changed, 44 insertions, 9 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ChangeLog b/Build/source/texk/texlive/linked_scripts/ChangeLog
index bab51c76216..f58a2fcc9eb 100644
--- a/Build/source/texk/texlive/linked_scripts/ChangeLog
+++ b/Build/source/texk/texlive/linked_scripts/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-28 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * scripts.lst (new): Lists of texmf and texmf-dist scripts.
+ * Makefile.am: If necessary, create/update scripts.lst
+
2011-01-29 Karl Berry <karl@tug.org>
* Makefile.am (texmf_dist_perl_scripts): add sty2dtx.pl.
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index 014095485c8..fa1a00aa7c2 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -5,6 +5,23 @@
##
## TeX Live's extra scripts.
+## Build lists of texmf and texmf-dist scripts.
+##
+if MAINTAINER_MODE
+all-local: scripts.tmp
+scripts.tmp: Makefile
+ echo "Create $@"
+ @echo "texmf_scripts='$(nobase_dist_texmf_scripts_SCRIPTS)'" >$@
+ @echo "texmf_dist_scripts='$(nobase_dist_texmf_dist_scripts_SCRIPTS)'" >>$@
+ cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+else !MAINTAINER_MODE
+all-local:
+endif !MAINTAINER_MODE
+
+DISTCLEANFILES = scripts.tmp
+
+EXTRA_DIST = scripts.lst
+
## Make sure $(bindir) exists
##
bin_SCRIPTS =
@@ -51,13 +68,13 @@ texmf_dist_perl_scripts = \
accfonts/vpl2ovp \
accfonts/vpl2vpl \
authorindex/authorindex \
- ebong/ebong.py \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
context/perl/mptopdf.pl \
de-macro/de-macro \
dviasm/dviasm.py \
+ ebong/ebong.py \
epspdf/epspdf.rb \
epspdf/epspdftk.tcl \
epstopdf/epstopdf.pl \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index cda3af383d4..405c4e5793e 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -158,6 +158,8 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
+DISTCLEANFILES = scripts.tmp
+EXTRA_DIST = scripts.lst
bin_SCRIPTS =
# Copies of these scripts exist here for the sake of avoiding
@@ -204,13 +206,13 @@ texmf_dist_perl_scripts = \
accfonts/vpl2ovp \
accfonts/vpl2vpl \
authorindex/authorindex \
- ebong/ebong.py \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
context/perl/mptopdf.pl \
de-macro/de-macro \
dviasm/dviasm.py \
+ ebong/ebong.py \
epspdf/epspdf.rb \
epspdf/epspdftk.tcl \
epstopdf/epstopdf.pl \
@@ -476,7 +478,7 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
-all-am: Makefile $(SCRIPTS)
+all-am: Makefile $(SCRIPTS) all-local
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(texmf_dist_scriptsdir)" "$(DESTDIR)$(texmf_scriptsdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -502,6 +504,7 @@ clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -579,12 +582,12 @@ uninstall-am: uninstall-binSCRIPTS \
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
.MAKE: install-am install-data-am install-strip uninstall-am
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-binSCRIPTS install-data \
- install-data-am install-data-hook install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man \
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ distclean distclean-generic distdir dvi dvi-am html html-am \
+ info info-am install install-am install-binSCRIPTS \
+ install-data install-data-am install-data-hook install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
install-nobase_dist_texmf_dist_scriptsSCRIPTS \
install-nobase_dist_texmf_scriptsSCRIPTS install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
@@ -594,6 +597,14 @@ uninstall-am: uninstall-binSCRIPTS \
uninstall-hook uninstall-nobase_dist_texmf_dist_scriptsSCRIPTS \
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='$(nobase_dist_texmf_scripts_SCRIPTS)'" >$@
+@MAINTAINER_MODE_TRUE@ @echo "texmf_dist_scripts='$(nobase_dist_texmf_dist_scripts_SCRIPTS)'" >>$@
+@MAINTAINER_MODE_TRUE@ cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+@MAINTAINER_MODE_FALSE@all-local:
install-data-hook:
@WIN32_TRUE@ @for s in $(texmf_perl_scripts) $(texmf_dist_perl_scripts); do \
@WIN32_TRUE@ t=`basename $$s | sed 's,\.[^/]*$$,,' | tr '[A-Z]' '[a-z]'`; \
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
new file mode 100644
index 00000000000..8c466eff04d
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -0,0 +1,2 @@
+texmf_scripts='simpdftex/simpdftex a2ping/a2ping.pl tetex/e2pall.pl tetex/texdoctk.pl texdoc/texdoc.tlu texlive/rungs.tlu texlive/tlmgr.pl'
+texmf_dist_scripts='bibexport/bibexport.sh installfont/installfont-tl listings-ext/listings-ext.sh pdfjam/pdf180 pdfjam/pdf270 pdfjam/pdf90 pdfjam/pdfbook pdfjam/pdfflip pdfjam/pdfjam pdfjam/pdfjam-pocketmod pdfjam/pdfjam-slides3up pdfjam/pdfjam-slides6up pdfjam/pdfjoin pdfjam/pdfnup pdfjam/pdfpun pst-pdf/ps4pdf accfonts/mkt1font accfonts/vpl2ovp accfonts/vpl2vpl authorindex/authorindex bundledoc/arlatex bundledoc/bundledoc cachepic/cachepic.tlu context/perl/mptopdf.pl de-macro/de-macro dviasm/dviasm.py ebong/ebong.py epspdf/epspdf.rb epspdf/epspdftk.tcl epstopdf/epstopdf.pl fig4latex/fig4latex findhyph/findhyph fontools/afm2afm fontools/autoinst fontools/cmap2enc fontools/font2afm fontools/ot2kpx fontools/pfm2kpx fontools/showglyphs fragmaster/fragmaster.pl glossaries/makeglossaries latex2man/latex2man latexdiff/latexdiff.pl latexdiff/latexdiff-vc.pl latexdiff/latexrevise.pl latexmk/latexmk.pl luaotfload/mkluatexfontdb.lua mathspic/mathspic.pl mkjobtexmf/mkjobtexmf.pl mkgrkindex/mkgrkindex oberdiek/pdfatfi.pl pax/pdfannotextractor.pl pdfcrop/pdfcrop.pl perltex/perltex.pl pkfix/pkfix.pl pkfix-helper/pkfix-helper ppower4/pdfthumb.tlu ppower4/ppower4.tlu pst2pdf/pst2pdf purifyeps/purifyeps splitindex/perl/splitindex.pl sty2dtx/sty2dtx.pl svn-multi/svn-multi.pl texcount/texcount.pl texdiff/texdiff texdirflatten/texdirflatten texloganalyser/texloganalyser thumbpdf/thumbpdf.pl ulqda/ulqda.pl vpe/vpe.pl'