diff options
author | Karl Berry <karl@freefriends.org> | 2013-06-25 00:25:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-06-25 00:25:35 +0000 |
commit | 619465215a86f046de60aba377c9e7258a159822 (patch) | |
tree | 297f5f2f4da36e30fe24e91b310d15dc8fb08057 /Build/source | |
parent | 0d86c7d5d9844f4cff10ca5c99a1444820e8b4f8 (diff) |
ctanify (19jun13)
git-svn-id: svn://tug.org/texlive/trunk@30921 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/ctanify/ctanify | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ctanify/ctanify b/Build/source/texk/texlive/linked_scripts/ctanify/ctanify index 32dcee305ea..5fa852a8ca7 100755 --- a/Build/source/texk/texlive/linked_scripts/ctanify/ctanify +++ b/Build/source/texk/texlive/linked_scripts/ctanify/ctanify @@ -19,7 +19,7 @@ use warnings; use strict; # Define some global variables. -our $VERSION = "1.3"; # ctanify version number +our $VERSION = "1.4"; # ctanify version number my $progname = basename $0; # Name of this program my $pkgname; # Base name of the package to create my $miscify = 0; # 1=replace singletons with misc; 0=don't @@ -186,14 +186,18 @@ if ($autoinclude) { # Add all source files (\from) to the manifest. while ($insfile =~ /\\from\{([^\}]+)\}/g) { - push @manifest, $1; + my $fname_exp = $1; + $fname_exp =~ s/\\jobname\b/$pkgname/g; + push @manifest, $fname_exp; } # Add all generated files (\file) to the manifest but also to # the list of TDS-only inclusions. while ($insfile =~ /\\file\{([^\}]+)\}/g) { - push @manifest, $1; - push @tdsonly, $1; + my $fname_exp = $1; + $fname_exp =~ s/\\jobname\b/$pkgname/g; + push @manifest, $fname_exp; + push @tdsonly, $fname_exp; } } } @@ -663,7 +667,11 @@ the LaTeX Project Public License, either S<version 1.3c> of this license or (at your option) any later version. The latest version of this license is in +=over 4 + L<http://www.latex-project.org/lppl.txt> +=back + and S<version 1.3c> or later is part of all distributions of LaTeX version 2008/05/04 or later. |