summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-05-15 06:14:06 +0000
committerNorbert Preining <preining@logic.at>2009-05-15 06:14:06 +0000
commitd4eefc7ae4dd13c05025812f5d31f7925a49e3e2 (patch)
tree2a4d818ba9dd29347a754d1a24c3f2a724e9f302
parent7237d7709415a37402f66223f69262c135c26710 (diff)
fix warning in check-execute-consistency
git-svn-id: svn://tug.org/texlive/trunk@13090 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/check-execute-consistency22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/check-execute-consistency b/Master/tlpkg/bin/check-execute-consistency
index f5642057fb3..ccb569cc23c 100755
--- a/Master/tlpkg/bin/check-execute-consistency
+++ b/Master/tlpkg/bin/check-execute-consistency
@@ -46,7 +46,7 @@ sub main
my $foo = $2;
chomp($foo);
push @{$maps{$foo}}, $pkg;
- } elsif ($e =~ m/BuildFormat\s+(.*)$/) {
+ } elsif ($e =~ m/AddFormat\s+(.*)$/) {
my $foo = $1;
chomp($foo);
push @{$fmtcodes{$foo}}, $pkg;
@@ -114,13 +114,21 @@ sub main
# print "\t$mf (@{$problemhyphen{$mf}})\n";
# }
#}
+ #
+ # what should be checked for the executes? we could check
+ # - the existence of the engine in bin/i386-linux or all $arch
+ # - the existence of the format name link/bat
+ # - parse the options parameter and check for the inifile
+ # - rework the format definition that we have inifile=pdflatex.ini
+ # isn't the * unnecessary?
+ tlwarn("checking of AddFormat lines disabled!\n");
my %badfmtcodes;
- foreach my $lc (keys %fmtcodes) {
- my @found = $tlpdb->find_file("texmf/fmtutil/format.$lc.cnf");
- if ($#found < 0) {
- $badfmtcodes{$lc} = $fmtcodes{$lc};
- }
- }
+ #foreach my $lc (keys %fmtcodes) {
+ # my @found = $tlpdb->find_file("texmf/fmtutil/format.$lc.cnf");
+ # if ($#found < 0) {
+ # $badfmtcodes{$lc} = $fmtcodes{$lc};
+ # }
+ #}
if (keys %badfmtcodes) {
print "mentioned fmt codes without fmtutil.XXX.cnf:\n";
foreach my $mf (keys %badfmtcodes) {