tng         2002/07/29 09:10:18

  Modified:    c/scripts packageBinaries.pl
  Log:
  [Bug 9084] scripts/packageBinaries -j option not well documented.
  
  Revision  Changes    Path
  1.90      +10 -10    xml-xerces/c/scripts/packageBinaries.pl
  
  Index: packageBinaries.pl
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- packageBinaries.pl        24 Jul 2002 19:56:03 -0000      1.89
  +++ packageBinaries.pl        29 Jul 2002 16:10:18 -0000      1.90
  @@ -9,7 +9,7 @@
   
   
   # Extract the source and target directories
  -&Getopt('sopcxmntrjb');
  +&Getopt('sopcxmntrb');
   $XERCESCROOT = $opt_s;
   $targetdir = $opt_o;
   
  @@ -166,7 +166,7 @@
   
           # Make the icu dlls
           pchdir ("$ICUROOT\\source\\allinone");
  -        if (!$opt_j) {   # Optionally suppress ICU build, to speed up overlong 
builds while debugging.
  +        if (!(length($opt_j) > 0)) {   # Optionally suppress ICU build, to speed up 
overlong builds while debugging.
            #For nt we ship both debug and release dlls
            psystem("msdev allinone.dsw /MAKE \"all - $platformname Release\" /REBUILD 
/OUT buildlog.txt");
            psystem("type buildlog.txt");
  @@ -375,10 +375,10 @@
       {
           $platformname = 'Win64';
       }
  -    else 
  +    else
       {
  -        $platformname = 'Win32';    
  -    }    
  +        $platformname = 'Win32';
  +    }
       if (-e "$targetdir.zip") {
           print ("Deleting old target file \'$targetdir.zip\' \n");
           unlink("$targetdir.zip");
  @@ -431,7 +431,7 @@
   
           # Make the icu dlls
           pchdir ("$ICUROOT/source/allinone");
  -        if (!$opt_j) {   # Optionally suppress ICU build, to speed up overlong 
builds while debugging.
  +        if (!(length($opt_j) > 0)) {   # Optionally suppress ICU build, to speed up 
overlong builds while debugging.
            #For nt we ship both debug and release dlls
            if ($platformname eq "Win64")
            {
  @@ -449,7 +449,7 @@
               else
               {
                   psystem("msdev allinone.dsw /MAKE \"all - $platformname Debug\" 
/REBUILD /OUT buildlog.txt");                
  -            }            
  +            }        
            psystem("cat buildlog.txt");
           }
   
  @@ -471,7 +471,7 @@
       else
       {
           psystem( "msdev xerces-all.dsw /MAKE \"all - $platformname $buildmode\" 
/REBUILD /OUT buildlog.txt");
  -    }                
  +    }        
   
       system("cat buildlog.txt");
   
  @@ -733,7 +733,7 @@
               $icuCompileFlags = 'CC=ecc CXX=ecc CXXFLAGS="-w -O0" CFLAGS="-w -O0"';
           } else {
               $icuCompileFlags = 'CC=gcc CXX=g++ CXXFLAGS="-w -O" CFLAGS="-w -O"';
  -        }        
  +        }
           psystem ("echo LD_LIBRARY_PATH=$ENV{'LD_LIBRARY_PATH'}");
       }
   
  @@ -853,7 +853,7 @@
       psystem ("mkdir $targetdir/doc/html/apiDocs");
   
       # Build ICU if needed
  -    if ($opt_t =~ m/icu/i && !$opt_j)
  +    if ($opt_t =~ m/icu/i && !(length($opt_j) > 0))
       {
           print("\n\nBuild ICU with \'$opt_b\' bit ...\n");
           if(length($ICUROOT) == 0) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to