summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-06 23:29:16 +0000
committerKarl Berry <karl@freefriends.org>2011-05-06 23:29:16 +0000
commitc12f7ff3c88e06dd8f3dd964f6c274ae97bbfbfe (patch)
treed646e8fa26dbc3d80d7f68374baddff3376a3859 /Master/tlpkg
parente1ef22356087d81c9700f75a1fa142404cec7772 (diff)
lualatex-math (6may11)
git-svn-id: svn://tug.org/texlive/trunk@22339 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds40
-rw-r--r--Master/tlpkg/tlpsrc/collection-luatex.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/lualatex-math.tlpsrc0
4 files changed, 29 insertions, 14 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 43cec5d4d1c..a162c88c485 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -223,7 +223,7 @@ my @TLP_working = qw(
lshort-vietnamese ltabptch
ltxdockit ltxindex ltxmisc ltxnew
lua-alt-getopt luacode
- luainputenc lualatex-doc lualibs luamplib luaotfload
+ luainputenc lualatex-doc lualatex-math lualibs luamplib luaotfload
luasseq luatexbase luatextra
lxfonts ly1
macqassign mafr magaz magyar mailing mailmerge
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index cb257e7b842..444d4162cc3 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1895,11 +1895,17 @@ $standardxmt='\.xmt';
%specialxmt = ();
-# code to install under texmf*/.../scripts.
-# if they should end up in $bindir too,
-# add to Build/source/texk/texlive/Makefile.in (and ChangeLog),
-# which the doscripts function does.
-%specialscripts = (
+# scripts to install under texmf*/.../scripts.
+%specialscripts_nobin = (
+ 'epspdf' => '(epspdf(|\.help|boot|tk)|\.rb|makegray\.pro)$',
+ 'lua-alt-getopt' => '\.lua$',
+ 'luaindex' => '\.lua$',
+ 'lualatex-math' => '\.lua$',
+ 'luasseq' => '\.lua$',
+);
+
+# scripts that should end up in $bindir too.
+%specialscripts_bin = (
'a2ping' => '\.pl$',
'accfonts' => 'mkt1font|vpl2',
'authorindex' => 'authorindex$',
@@ -1908,7 +1914,6 @@ $standardxmt='\.xmt';
'de-macro' => 'de-macro',
'dviasm' => '\.py$',
'ebong' => '\.py$',
- 'epspdf' => '(epspdf(|\.help|boot|tk)|\.rb|makegray\.pro)$',
'epstopdf' => 'epstopdf\.pl',
'fig4latex' => 'fig4latex',
'findhyph' => 'findhyph$',
@@ -1918,9 +1923,6 @@ $standardxmt='\.xmt';
'latexdiff' => 'latex(diff-so|diff-vc|revise)$',
'latexmk' => '\.pl$',
'listings-ext' => '\.sh$',
- 'lua-alt-getopt' => '\.lua$',
- 'luaindex' => '\.lua$',
- 'luasseq' => '\.lua$',
'mathspic' => '^mathspic\.pl$',
'mkgrkindex' => 'mkgrkindex$',
'mkjobtexmf' => '\.pl$',
@@ -2059,7 +2061,7 @@ for (@ARGV) {
$package = pop (@x);
my $COOKED_PKG = "$COOKED_TOP/$package"; # output directory
- if ($specialscripts{$package}) {
+ if ($specialscripts_bin{$package}) {
$BUILDDEST = "$COOKED_PKG/Build/source";
$TOPDEST = "$COOKED_PKG/Master";
} else {
@@ -2539,10 +2541,22 @@ sub dotype1{
# We also make the symlinks/w32-wrapper-copy in Master/bin.
#
sub doscripts {
- my $scriptpatt = $specialscripts{$package};
- return unless $scriptpatt;
-
my $pwd = getcwd();
+
+ # first do the ones that don't go in the bindirs.
+ my $scriptpatt = $specialscripts_nobin{$package};
+ if ($scriptpatt) {
+ if ($pwd ne "$DEST/scripts/$package") {
+ # in the .tds.zip case, we will already be in the scripts dir.
+ &install ("$DEST/scripts/$package", $scriptpatt);
+ &SYSTEM ("chmod a+x $DEST/scripts/$package/*");
+ }
+ }
+
+ # now the user-visible bindir entries. Duplicating above, sorry.
+ $scriptpatt = $specialscripts_bin{$package};
+ return unless $scriptpatt;
+
if ($pwd ne "$DEST/scripts/$package") {
# in the .tds.zip case, we will already be in the scripts dir.
&install ("$DEST/scripts/$package", $scriptpatt);
diff --git a/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc b/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc
index 62187be6995..5f8a4517e8f 100644
--- a/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc
@@ -8,6 +8,7 @@ depend collection-basic
depend luacode
depend luainputenc
depend lualatex-doc
+depend lualatex-math
depend lualibs
depend luamplib
depend luaotfload
diff --git a/Master/tlpkg/tlpsrc/lualatex-math.tlpsrc b/Master/tlpkg/tlpsrc/lualatex-math.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/lualatex-math.tlpsrc