From 619465215a86f046de60aba377c9e7258a159822 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 25 Jun 2013 00:25:35 +0000 Subject: ctanify (19jun13) git-svn-id: svn://tug.org/texlive/trunk@30921 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/ctanify/ctanify | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/ctanify/ctanify b/Master/texmf-dist/scripts/ctanify/ctanify index 32dcee305ea..5fa852a8ca7 100755 --- a/Master/texmf-dist/scripts/ctanify/ctanify +++ b/Master/texmf-dist/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 of this license or (at your option) any later version. The latest version of this license is in +=over 4 + L +=back + and S or later is part of all distributions of LaTeX version 2008/05/04 or later. -- cgit v1.2.3