summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-12 22:03:36 +0000
committerKarl Berry <karl@freefriends.org>2019-02-12 22:03:36 +0000
commit290f47b084c6eb826c60ba8339633710b9b8dd72 (patch)
tree23c050810f1ff11835062ebafb526686e1fa89ec /Master/tlpkg
parent92282b7146d4f326e917545a7f638f8d3bc6e739 (diff)
pxjodel (12feb19)
git-svn-id: svn://tug.org/texlive/trunk@50009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 0559738ff2f..29a27c5b4a2 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1376,6 +1376,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'utf8mex' => '&PREHOOK_flatten1',
'vhistory' => '&PREHOOK_vhistory',
'wasy' => '&PREHOOK_wasy',
+ 'webquiz' => '&PREHOOK_webquiz',
'wsuipa' => '&PREHOOK_wsuipa',
'yathesis' => '&PREHOOK_flatten1',
'xepersian' => '&PREHOOK_flatten1',
@@ -3078,6 +3079,7 @@ $standardttf = '\.ttf|\.TTC';
'ulqda' => '\.pl$',
'urlbst' => 'urlbst$',
'vpe' => '\.pl$',
+ 'webquiz' => '^webquiz\.py*',
'wordcount' => '\.sh$',
'wheretotrim' => '\.pl$',
'xindex' => 'xindex\.lua$',
@@ -5578,6 +5580,13 @@ sub PREHOOK_wasy {
&SYSTEM ("$RM -rf ps-type1");
}
+sub PREHOOK_webquiz {
+ print "PREHOOK_$package - mv dirs so specialscripts can work\n";
+ &mv_with_mkdir ("scripts/*" => "$DEST/scripts/$package");
+ &mv_with_mkdir ("latex/*" => "$DEST/tex/latex/$package");
+ &SYSTEM ("$MV doc/* .; rmdir latex scripts doc");
+}
+
sub PREHOOK_wsuipa {
print "PREHOOK_$package - rearrange directories, except for doc\n";
# we can't use flatten because we want to preserve the subdirs inside doc.