diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-24 13:11:56 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-24 13:11:56 +0000 |
commit | 8eb8cceac3a0178def3b2f0d1a1f18ad61df647a (patch) | |
tree | b9b27e3050044903f275716d05ed882d87cc6856 /Build | |
parent | a277fb9303587330b65a7081c637a1aa651c9d9a (diff) |
texk/texlive: Build list of tl_scripts
git-svn-id: svn://tug.org/texlive/trunk@28929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/Makefile.am | 20 | ||||
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/Makefile.in | 51 | ||||
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/scripts.lst | 22 |
3 files changed, 73 insertions, 20 deletions
diff --git a/Build/source/texk/texlive/tl_scripts/Makefile.am b/Build/source/texk/texlive/tl_scripts/Makefile.am index 779c8870f58..fe3a45b6cd3 100644 --- a/Build/source/texk/texlive/tl_scripts/Makefile.am +++ b/Build/source/texk/texlive/tl_scripts/Makefile.am @@ -3,8 +3,26 @@ ## Copyright (C) 2013 Karl Berry <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. +## Build lists of scripts. +## +scripts-list: Makefile + @echo "Create $@" + @echo "tl_scripts='" >$@ + @for f in $(dist_texmf_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-list + +EXTRA_DIST = scripts.lst + # These first variable definitions are what scripts_links.am requires. -EXTRA_DIST = perl_scripts = updmap e2pall shell_scripts = fmtutil-sys updmap-sys sh_scripts = \ diff --git a/Build/source/texk/texlive/tl_scripts/Makefile.in b/Build/source/texk/texlive/tl_scripts/Makefile.in index 3c19a27c4d8..445da26a99b 100644 --- a/Build/source/texk/texlive/tl_scripts/Makefile.in +++ b/Build/source/texk/texlive/tl_scripts/Makefile.in @@ -210,9 +210,11 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ +DISTCLEANFILES = scripts-list +EXTRA_DIST = scripts.lst $(top_builddir)/../../build-aux/relpath \ + updmap.help2man # These first variable definitions are what scripts_links.am requires. -EXTRA_DIST = $(top_builddir)/../../build-aux/relpath updmap.help2man perl_scripts = updmap e2pall shell_scripts = fmtutil-sys updmap-sys sh_scripts = \ @@ -592,7 +594,7 @@ distdir: $(DISTFILES) done check-am: all-am check: check-am -all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) +all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) all-local installdirs: for dir in "$(DESTDIR)$(texconfigdir)" "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(texconfigdir)" "$(DESTDIR)$(web2cdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ @@ -623,6 +625,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" @@ -704,24 +707,34 @@ uninstall-man: uninstall-man1 uninstall-man5 .MAKE: install-am install-data-am install-strip uninstall-am -.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ - ctags-am distclean distclean-generic distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-data-hook install-dist_texconfigDATA \ - install-dist_texconfigSCRIPTS install-dist_texmfSCRIPTS \ - install-dist_web2cDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-man1 install-man5 \ - install-nodist_binSCRIPTS install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags-am uninstall uninstall-am \ - uninstall-dist_texconfigDATA uninstall-dist_texconfigSCRIPTS \ - uninstall-dist_texmfSCRIPTS uninstall-dist_web2cDATA \ - uninstall-hook uninstall-man uninstall-man1 uninstall-man5 \ - uninstall-nodist_binSCRIPTS +.PHONY: all all-am all-local check check-am clean clean-generic \ + cscopelist-am ctags-am distclean distclean-generic distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-hook \ + install-dist_texconfigDATA install-dist_texconfigSCRIPTS \ + install-dist_texmfSCRIPTS install-dist_web2cDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-man1 install-man5 install-nodist_binSCRIPTS \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_texconfigDATA \ + uninstall-dist_texconfigSCRIPTS uninstall-dist_texmfSCRIPTS \ + uninstall-dist_web2cDATA uninstall-hook uninstall-man \ + uninstall-man1 uninstall-man5 uninstall-nodist_binSCRIPTS + + +scripts-list: Makefile + @echo "Create $@" + @echo "tl_scripts='" >$@ + @for f in $(dist_texmf_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: .PHONY: install-lua-links install-perl-links install-shell-links install-sh-links \ install-links uninstall-links @WIN32_TRUE@@WIN32_WRAP_TRUE@$(wrappers): $(runscript) diff --git a/Build/source/texk/texlive/tl_scripts/scripts.lst b/Build/source/texk/texlive/tl_scripts/scripts.lst new file mode 100644 index 00000000000..5432ae73062 --- /dev/null +++ b/Build/source/texk/texlive/tl_scripts/scripts.lst @@ -0,0 +1,22 @@ +tl_scripts=' +updmap.pl +e2pall.pl +fmtutil-sys.sh +updmap-sys.sh +allcm.sh +allneeded.sh +dvi2fax.sh +dvired.sh +fmtutil.sh +fontinst.sh +kpsetool.sh +kpsewhere.sh +ps2frag.sh +pslatex.sh +rubibtex.sh +rumakeindex.sh +texconfig-dialog.sh +texconfig-sys.sh +texconfig.sh +texlinks.sh +' |