From 47f84d7024ed77e5f6ebb75e209b7e0ed4c8be3e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 26 Jul 2008 18:56:22 +0000 Subject: 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 --- Master/tlpkg/bin/tlpsrc2tlpdb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg/bin') 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 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. -- cgit v1.2.3