diff options
author | Norbert Preining <preining@logic.at> | 2008-07-26 18:56:22 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-07-26 18:56:22 +0000 |
commit | 47f84d7024ed77e5f6ebb75e209b7e0ed4c8be3e (patch) | |
tree | d6f99138c037ea61575a9324aa90d58f9c35c929 /Master/tlpkg/bin/tlpsrc2tlpdb | |
parent | 665acdd21c5a8bc2773bab7b41e010001d588199 (diff) |
pattern matching magic: now more archs can be given after a binpattern type, and also negated ones
git-svn-id: svn://tug.org/texlive/trunk@9793 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpsrc2tlpdb')
-rwxr-xr-x | Master/tlpkg/bin/tlpsrc2tlpdb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb index 7fa316d7ea4..127e365bc5d 100755 --- a/Master/tlpkg/bin/tlpsrc2tlpdb +++ b/Master/tlpkg/bin/tlpsrc2tlpdb @@ -29,6 +29,7 @@ my $opt_catalogue = ""; chomp (my $opt_master = `cd $::mydir/../.. && pwd`); my $help = 0; my $opt_nobinsplit = 0; +my $opt_winwarning; TeXLive::TLUtils::process_logging_options(); GetOptions( @@ -36,6 +37,7 @@ GetOptions( "master=s" => \$opt_master, # location of the TL tree "catalogue=s" => \$opt_catalogue, # location of the TeX Catalogue "no-bin-split!" => \$opt_nobinsplit, + "with-win-pattern-warning" => \$opt_winwarning, "help|?" => \$help) or pod2usage(1); pod2usage(-exitstatus => 0, -verbose => 2) if $help; @@ -47,7 +49,9 @@ sub main if (! -d $opt_master) { die "$0: Master $opt_master not a directory, goodbye.\n"; } - + if (defined($opt_winwarning)) { + $::win_pattern_warn = 1; + } my $tlc = undef; if (! -d $opt_catalogue) { info ("$0: -c /Cat/a/logue not given, continuing without it.\n"); @@ -162,6 +166,12 @@ Do NOT split files with binaries into several packages (one for the arch independent and one for each of the architectures with only the respective binaries). There is no reason to use this option. +=item B<-with-win-pattern-warning> +Normally, this program issues a warning for all patterns without a matching +file, but does I<not> warn for binpatterns when working on the win32 +architecture. Giving this option makes it issues all warnings, i.e., also +those where a binpattern on win32 does not hit. + =back The standard options C<-help> and C<-debug> are also accepted. |