summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-23 20:32:38 +0000
committerKarl Berry <karl@freefriends.org>2019-12-23 20:32:38 +0000
commitc3e39e899206e8fa4dc6636f5e90c1f568634428 (patch)
treeabb9769b5ff0aa792ba6f85e5cab0a2e9b2f02f3 /Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
parent8e0008903f054fd90b7f44ee8aaeb6b4dc6644a7 (diff)
allow global_tlpvars to be set in autopatterns and used across other packages; define globals for common dependencies; doc updates
git-svn-id: svn://tug.org/texlive/trunk@53216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc')
-rw-r--r--Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc32
1 files changed, 28 insertions, 4 deletions
diff --git a/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc b/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
index 14727c17383..6c1c7c5f6a2 100644
--- a/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
+++ b/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
@@ -1,11 +1,31 @@
category TLCore
shortdesc defines per-category patterns used by tlpsrc-to-tlpdb conversion
-longdesc As can be seen, the syntax here is slightly different than a
+longdesc As can be seen, the syntax here is rather different from a
longdesc normal tlpsrc file: an additional first argument specifies the
longdesc category for this pattern, and a final %NAME% is replaced with
-longdesc the package. Defining new categories merely by adding them
-longdesc here is not currently implemented, though it could be done if
-longdesc it proves useful. See the TeXLive::TLPSRC documentation for more.
+longdesc the package.
+longdesc
+longdesc In addition, global TLPSRC variables can be defined, which
+longdesc can be used in any .tlpsrc variable. Their names must start
+longdesc with "global_".
+longdesc
+longdesc Defining new categories merely by adding them here is not
+longdesc currently implemented, though it could be done if useful.
+longdesc
+longdesc See the TeXLive::TLPSRC documentation for more.
+
+# These packages are used by all LaTeX variants.
+# After the TL 2020 release, there should be more commonalities between
+# latex-bin and latex-bin-dev that we can add here.
+tlpsetvar global_latex_deps babel,cm,hyphen-base,latex-fonts
+#
+# These packages are used by all LuaTeX variants - luatex, luajittex, luahbtex.
+tlpsetvar global_luatex_deps cm,etex,hyphen-base,knuth-lib,plain,\
+tex-ini-files,unicode-data
+#
+# It would be ideal to be able to specify the non-jit platforms here,
+# but it's not crucial, so we haven't implemented ${global_} expansion
+# in binpatterns.
# auto patterns for category Package
runpattern Package t texmf-dist bibtex %NAME%
@@ -22,7 +42,9 @@ runpattern Package t texmf-dist tex %NAME%
runpattern Package d texmf-dist/tex/context/third/%NAME%
runpattern Package d texmf-dist/fonts/misc/xetex/fontmapping/%NAME%
runpattern Package d texmf-dist/scripts/context/lua/third/%NAME%
+#
srcpattern Package t texmf-dist source %NAME%
+#
docpattern Package t texmf-dist doc %NAME%
docpattern Package f texmf-dist/doc/man/man1/%NAME%.*
docpattern Package d texmf-dist/doc/context/third/%NAME%
@@ -43,5 +65,7 @@ runpattern ConTeXt f texmf-dist/tex/context/interface/third/t-%NAME%.xml
runpattern ConTeXt d texmf-dist/tex/context/third/%context-:NAME%
runpattern ConTeXt d texmf-dist/scripts/context/lua/third/%context-:NAME%
runpattern ConTeXt d texmf-dist/metapost/context/third/%context-:NAME%
+#
docpattern ConTeXt d texmf-dist/doc/context/third/%context-:NAME%
+#
srcpattern ConTeXt d texmf-dist/source/context/third/%context-:NAME%