summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
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.