summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds22
1 files changed, 10 insertions, 12 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index c815fade73b..b1231301cef 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1062,6 +1062,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'fontools' => '&PREHOOK_fontools',
'ibygrk' => '&PREHOOK_ibygrk',
'ktv-texdata' => '&PREHOOK_ktv_texdata',
+ 'latexdiff' => '&PREHOOK_latexdiff',
'mathspic' => '&PREHOOK_mathspic',
'movie15' => '&PREHOOK_flatten1',
'musixtex' => '&PREHOOK_musixtex',
@@ -1107,7 +1108,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'knitting' => '&POSTknitting',
'knuth' => '&POSTknuth',
'koma-script' => '&POST_rmsymlink',
- 'latexdiff' => '&POSTlatexdiff',
'latex2e-help-texinfo' => '&POSTlatex2ehelptexinfo',
'listbib' => '&POSTlistbib',
'lithuanian' => '&POSTlithuanian',
@@ -2283,7 +2283,7 @@ $standardxmt='\.xmt';
'installfont' => 'installfont-tl',
'jfontmaps' => 'updmap-setup-kanji\.pl|updmap-setup-kanji-sys.sh',
'latex2man' => 'latex2man$',
- 'latexdiff' => 'latex(diff-so|diff-vc|revise)$',
+ 'latexdiff' => 'latex(diff|diff-vc|revise)\.pl$',
'latexmk' => '\.pl$',
'latexfileversion' => 'latexfileversion$',
'latexpand' => 'latexpand$',
@@ -3025,7 +3025,6 @@ sub doscripts {
}
}
-
# info files. We put these in texmf/doc/info, which is where we keep
# the info files for the programs, too. Having an info dir in
@@ -4673,6 +4672,14 @@ sub PREHOOK_ktv_texdata {
&SYSTEM ("$RM -rf latex");
}
+sub PREHOOK_latexdiff {
+ print "PREHOOK_$package - rename $package-so to $package.pl, etc.\n";
+ # Consistently use *.pl to avoid special case in w32 wrapper
+ &SYSTEM ("$MV latexdiff-so latexdiff.pl");
+ &SYSTEM ("$MV latexrevise latexrevise.pl");
+ &SYSTEM ("$MV latexdiff-vc latexdiff-vc.pl");
+}
+
sub PREHOOK_mathspic {
print "PREHOOK_$package - eliminate version from mathspicNNN.pl\n";
# the w32 wrapper can only find foo.pl from foo, not fooNNN.pl.
@@ -5080,15 +5087,6 @@ sub POSTlatex2html {
&SYSTEM ("$MV $DEST/scripts/latex2html/styles/$package.perl $dest");
}
-sub POSTlatexdiff {
- print "POST$package - rename $package-so to $package.pl\n";
- # to avoid special case in w32 wrapper
- my $dir = "$DEST/scripts/$package";
- &SYSTEM ("$MV $dir/latexdiff-so $dir/latexdiff.pl");
- &SYSTEM ("$MV $dir/latexrevise $dir/latexrevise.pl");
- &SYSTEM ("$MV $dir/latexdiff-vc $dir/latexdiff-vc.pl");
-}
-
sub POSTlatex2ehelptexinfo {
print "\t POST$package - remove translation subdir\n";
&SYSTEM ("$RM -rf spanish");