Author: frank
Date: 2006-04-13 11:48:08 +0000 (Thu, 13 Apr 2006)
New Revision: 1205

Modified:
   tex-common/trunk/scripts/tpm2licenses
Log:
remove all occurences of Master, and fix tetex-src logic

Modified: tex-common/trunk/scripts/tpm2licenses
===================================================================
--- tex-common/trunk/scripts/tpm2licenses       2006-04-13 11:47:40 UTC (rev 
1204)
+++ tex-common/trunk/scripts/tpm2licenses       2006-04-13 11:48:08 UTC (rev 
1205)
@@ -12,7 +12,6 @@
 #       --nocheckcatalogue
 #       --tpmdir
 #       --package
-#      --master=Path   path to the Master
 # optional tpm file: check only that one
 #
 
@@ -41,7 +40,7 @@
 
 
 # initialize AppConfig
-my $config = AppConfig->new("master=s", "catalogue=s", "nocheckcatalogue", 
"tpmdir=s", "package=s", "what=s");
+my $config = AppConfig->new("catalogue=s", "nocheckcatalogue", "tpmdir=s", 
"package=s", "what=s");
 
 # parse configurationfile, if present
 my @cfgDirs = (".","./debian","..","~");
@@ -57,22 +56,12 @@
 $config->getopt();
 
 # assign conffile, commandline or default values:
-my $Master = $config->master() ? $config->master() : "." ;
 my $Catalogue = $config->catalogue() ? $config->catalogue() : 
"/src/TeX/texcatalogue/" ;
 my $what = $config->what() ? $config->what() : "files";
 my $debian_package = $config->package() ? $config->package() : "tetex-base";
 my $tpmdir = $config->tpmdir() ? $config->tpmdir() : "./debian/tpm";
 my $nocatalogue = $config->nocheckcatalogue() ? $config->nocheckcatalogue() : 
'';
 
-# if (!($opt_master =~ m,/.*$,,)) {
-#     $Master = `pwd`;
-#     chomp($Master);
-#     $Master .= "/$opt_master";
-# } else {
-#     $Master = $opt_master;
-# }
-# $what = $opt_what;
-
 if ($debian_package) {
   die "Unknown Debian package: $debian_package." unless
       ( $debian_package =~ /^tetex-base$/    || 
@@ -84,9 +73,6 @@
        $debian_package =~ /^texlive-bin$/     );
 };
 
-# my $TpmGlobalPath = $Master;
-# my $DataGlobalPath = $Master;
-
 # texlive
 # my $TpmDirGlob = $Master . "./texmf-dist/tpm/*.tpm";
 # teTeX
@@ -97,13 +83,6 @@
 chomp( $sourceDir = `pwd`); 
 $sourceDir .= "/";
 
-#
-# put Master/Tools/ into the include path to find TeX live perl modules
-#
-# unshift (@INC, "$Master/Tools");
-#
-# these we can only load now that we have correctly set the path to Master
-#
 # require Strict;
 require XML::DOM;
 require FileUtils;
@@ -353,6 +332,7 @@
        print @DocFiles;
       };
       if ( /^tetex-src$/ ) {
+       @texmfPath = (".");
        foreach (@SourceFiles) {CheckFileExistence($_,[EMAIL PROTECTED])};
        MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]);
        unless (! @SourceFiles) {


_______________________________________________
Pkg-tetex-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

Reply via email to