summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 8d60c39448f..0e0e7908a43 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -725,6 +725,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'pigpen', "&MAKEflatten",
'pinlabel', "&MAKEnosymlinks",
'pitthesis', "die 'skipping, noinfo license",
+ 'pkuthss', "&MAKEpkuthss",
'pl', "die 'skipping, not ready, cf. cc-pl, sorry",
'pl-qx', "&MAKEplqx",
'pmxchords', "die 'skipping, problematic musixtex scripts'",
@@ -4987,6 +4988,21 @@ sub POSTpedigreeperl {
&SYSTEM ("$MV Pedigree/*.pm $scriptdir/Pedigree/");
}
+sub MAKEpkuthss {
+ # move files in tex to runtime, and doc/* up a level.
+ &donormal ();
+ #
+ my $texdest = "$DEST/tex/$whichformat/$package";
+ &xmkdir ($texdest);
+ &SYSTEM ("$MV `find tex -type f` $texdest/");
+ &SYSTEM ("$RM -r tex"); # rm now-empty dir
+ &SYSTEM ("$MV doc/* .");
+ #
+ # remove newly empty directories.
+ &SYSTEM ("find -depth -type d -print | xargs rmdir 2>/dev/null");
+}
+
+
sub POSTpgf {
print "POST$package - mv generic,latex,... directories\n";
&SYSTEM ("cd $DEST && mkdir tex && mv context generic latex plain tex");