summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-11 00:17:48 +0000
committerKarl Berry <karl@freefriends.org>2009-04-11 00:17:48 +0000
commitd66c210746dff5ad39284b6793dd0333a6df6f9d (patch)
treea78765bd842841e09589aa45ec01c2f4e6f55873 /Master/tlpkg/libexec
parent454868a5f2b777edfb9823ae5a2f2f93d029b95c (diff)
install fontools utilities (10apr09)
git-svn-id: svn://tug.org/texlive/trunk@12687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds29
1 files changed, 27 insertions, 2 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index d0b6d41efe3..fdf2b66c2a4 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -543,6 +543,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'doipubmed' => '&POSTlatex2html',
'elsarticle' => '&POSTelsarticle',
'epspdf' => '&POSTepspdf',
+ 'fontools' => '&POSTfontools',
'fpl' => '&POSTfpl',
'ibygrk' => '&POSTibygrk',
'impatient' => '&POSTimpatient',
@@ -992,6 +993,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'fge', 'fonts',
'fltpoint', 'generic',
'fontch', 'plain',
+ 'fontools', 'support',
'fourier', 'fonts',
'fouriernc', 'fonts',
'fpl', 'fonts',
@@ -1932,8 +1934,8 @@ sub dotype1{
}
# scripts. Make them executable even if it isn't always necessary.
-# Build/source/tex/texlive/Makefile.in installs symlinks in the bin
-# directories where needed. That Makefile.in is independently
+# Build/source/tex/texlive/linked_scripts/Makefile.am installs symlinks
+# in the bin directories where needed. That Makefile is independently
# maintained, needs to updated by hand when new user-visible scripts are
# added.
#
@@ -3558,6 +3560,29 @@ sub POSTepspdf
print "YOU-MUST-DO! update /tmp/$package* into bin/win32, etc.\n";
}
+sub POSTfontools
+{
+ # it seems simpler to do it this way than flatten and expand it back
+ # out, because of its nice examples/ subdirectories.
+ print "POST$package - handle subdirs\n";
+ #
+ my $scriptdir = "$DEST/scripts/$package";
+ &xmkdir ($scriptdir);
+ &SYSTEM ("$MV bin/* $scriptdir/");
+ &SYSTEM ("chmod a+x $scriptdir/*");
+ &SYSTEM ("rmdir bin");
+ #
+ my $mandir = "$TOPDEST/texmf/doc/man/man1";
+ &xmkdir ($mandir);
+ &SYSTEM ("$MV doc/*.1 $mandir/");
+ &SYSTEM ("rm -rf doc"); # skip pdfs, we'll make our own
+ #
+ my $encdir = "$DEST/fonts/enc/dvips/$package";
+ &xmkdir ($encdir);
+ &SYSTEM ("$MV share/* $encdir/");
+ &SYSTEM ("rmdir share"); # skip pdfs, we'll make our own
+}
+
sub POSTfpl
{
print "POST$package - rename README.source\n";