[Libreoffice-commits] .: 2 commits - instsetoo_native/util solenv/bin solenv/gbuild solenv/inc

Tor Lillqvist tml at kemper.freedesktop.org
Fri Jul 1 05:38:08 PDT 2011


 instsetoo_native/util/makefile.mk                |   15 ++-----------
 solenv/bin/build.pl                              |   25 ++---------------------
 solenv/bin/build_client.pl                       |    6 -----
 solenv/bin/deliver.pl                            |    2 -
 solenv/bin/modules/installer/control.pm          |   10 ---------
 solenv/bin/modules/installer/download.pm         |   12 +----------
 solenv/bin/modules/installer/scriptitems.pm      |    3 --
 solenv/bin/modules/installer/windows/msp.pm      |    9 +-------
 solenv/bin/modules/installer/windows/property.pm |    3 --
 solenv/bin/modules/installer/worker.pm           |    3 --
 solenv/bin/modules/installer/ziplist.pm          |    3 --
 solenv/bin/modules/packager/work.pm              |   11 +---------
 solenv/gbuild/Deliver.mk                         |    3 --
 solenv/inc/installationtest.mk                   |    4 +--
 solenv/inc/rules.mk                              |    4 +--
 solenv/inc/settings.mk                           |    4 +--
 solenv/inc/target.mk                             |    4 +--
 17 files changed, 23 insertions(+), 98 deletions(-)

New commits:
commit 2cffd3766e73ac52f83bacdf0605419e63d89b1a
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Fri Jul 1 15:37:03 2011 +0300

    Goodbye to CWS_WORK_STAMP

diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk
index 20cd85f..92be378 100644
--- a/instsetoo_native/util/makefile.mk
+++ b/instsetoo_native/util/makefile.mk
@@ -42,12 +42,7 @@ PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$
 .ENDIF			# "$(GUI)"=="WNT"
 .EXPORT: PYTHONPATH
 
-.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
 ENABLE_DOWNLOADSETS*=TRUE
-.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
-.IF "$(FORCE_DOWNLOADSETS)"!=""
-ENABLE_DOWNLOADSETS=TRUE
-.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
 
 .EXPORT: ENABLE_DOWNLOADSETS
 .EXPORT: LAST_MINOR
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 8caaac8..eb3c0e9 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -248,7 +248,6 @@
         exit 0;
     }
     get_module_and_buildlist_paths();
-    provide_consistency() if (defined $ENV{CWS_WORK_STAMP} && defined($ENV{COMMON_ENV_TOOLS}));
 
     $deliver_command .= ' -verbose' if ($html || $verbose);
     $deliver_command .= ' '. $dlv_switch if ($dlv_switch);
@@ -2191,22 +2190,6 @@ sub modules_classify {
 };
 
 #
-# This procedure provides consistency for cws
-# and optimized build (ie in case of --with_branches, -all:prj_name
-# and -since switches)
-#
-sub provide_consistency {
-    check_dir();
-    foreach my $var_ref (\$build_all_cont, \$build_since) {
-        if ($$var_ref) {
-            return if (defined $module_paths{$$var_ref});
-            print_error("Cannot find module '$$var_ref'", 9);
-            return;
-        };
-    };
-};
-
-#
 # Procedure clears up module for incompatible build
 #
 sub ensure_clear_module {
@@ -2359,7 +2342,7 @@ sub prepare_incompatible_build {
     @modules_built = keys %$deps_hash;
     %add_to_config = %$deps_hash;
     if ($prepare) {
-        if ((!(defined $ENV{UPDATER} && (!defined $ENV{CWS_WORK_STAMP}))) || (defined $ENV{CWS_WORK_STAMP})) {
+        if (!(defined $ENV{UPDATER})) {
             $source_config->add_active_modules([keys %add_to_config], 0);
         }
         clear_delivered();
@@ -2570,9 +2553,8 @@ sub read_ssolar_vars {
 
     my ($source_root, $cwsname);
     $source_root = '-sourceroot' if (defined $ENV{SOURCE_ROOT_USED});
-    my $cws_name = "-cwsname $ENV{CWS_WORK_STAMP}" if (defined $ENV{CWS_WORK_STAMP});
 
-    my $param = "-$ENV{WORK_STAMP} $source_root $cws_name $pro $platform";
+    my $param = "-$ENV{WORK_STAMP} $source_root $pro $platform";
     my $ss_command = "$perl $setsolar -file $tmp_file $param $nul";
     if (system($ss_command)) {
         unlink $tmp_file;
@@ -2720,8 +2702,7 @@ sub generate_html_file {
     my $build_duration = get_time_line(time - $build_time);
     my $temp_html_file = File::Temp::tmpnam($tmp_dir);
     my $title;
-    $title = $ENV{CWS_WORK_STAMP} . ': ' if (defined $ENV{CWS_WORK_STAMP});
-    $title .= $ENV{INPATH};
+    $title = $ENV{INPATH};
     die("Cannot open $temp_html_file") if (!open(HTML, ">$temp_html_file"));
     print HTML '<html><head>';
     print HTML '<TITLE id=MainTitle>' . $title . '</TITLE>';
diff --git a/solenv/bin/build_client.pl b/solenv/bin/build_client.pl
index 1dbf126..5483a13 100755
--- a/solenv/bin/build_client.pl
+++ b/solenv/bin/build_client.pl
@@ -357,11 +357,7 @@ sub do_job {
         delete $ENV{$_} foreach (keys %ENV);
         $ENV{$_} = $$solar_vars{$_} foreach (keys %$solar_vars);
         print 'Workspace: ';
-        if (defined $ENV{CWS_WORK_STAMP}) {
-            print $ENV{CWS_WORK_STAMP}; 
-        } else { 
-            print $ENV{SOLARSRC};
-        };
+	print $ENV{SOLARSRC};
  
         print "\nplatform: $ENV{INPATH} $^O";
         print "\ndir: $job_hash{job_dir}\n";
diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl
index 1e9b784..d4080b6 100755
--- a/solenv/bin/deliver.pl
+++ b/solenv/bin/deliver.pl
@@ -120,7 +120,7 @@ if ($^O ne 'cygwin') {              # iz59477 - cygwin needes a dot "." at the e
 $tempcounter        = 0;
 
 # zip is default for RE master builds
-$opt_zip = 1 if ( defined($ENV{DELIVER_TO_ZIP}) && uc($ENV{DELIVER_TO_ZIP}) eq 'TRUE' && ! defined($ENV{CWS_WORK_STAMP}));
+$opt_zip = 1 if ( defined($ENV{DELIVER_TO_ZIP}) && uc($ENV{DELIVER_TO_ZIP}) eq 'TRUE');
 
 $has_symlinks       = 0;            # system supports symlinks
 
diff --git a/solenv/bin/modules/installer/control.pm b/solenv/bin/modules/installer/control.pm
index 837decc..cda8512 100644
--- a/solenv/bin/modules/installer/control.pm
+++ b/solenv/bin/modules/installer/control.pm
@@ -478,11 +478,8 @@ sub check_updatepack
         $infoline = "\nEnvironment variable UPDATER set\n";
         push(@installer::globals::globallogfileinfo, $infoline);
 
-        if ( ! $ENV{'CWS_WORK_STAMP'} )	# the environment variable CWS_WORK_STAMP must not be set (set only in CWS)
+        # There are no CWSes any more, no environment variable CWS_WORK_STAMP
         {
-            $infoline = "Environment variable CWS_WORK_STAMP not set\n";
-            push(@installer::globals::globallogfileinfo, $infoline);
-
             if ( $ENV{'SHIPDRIVE'} )	# the environment variable SHIPDRIVE must be set 
             {
                 $shipdrive = $ENV{'SHIPDRIVE'};
@@ -584,11 +581,6 @@ sub check_updatepack
                 push(@installer::globals::globallogfileinfo, $infoline);				
             }
         }
-        else
-        {
-            $infoline = "Environment variable CWS_WORK_STAMP defined: No updatepack\n";
-            push(@installer::globals::globallogfileinfo, $infoline);			
-        }
     }	
                 
     if ( $installer::globals::updatepack ) { $infoline = "Setting updatepack true\n\n"; }
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm
index f463781..578df45 100644
--- a/solenv/bin/modules/installer/download.pm
+++ b/solenv/bin/modules/installer/download.pm
@@ -489,12 +489,8 @@ sub get_download_version
     
     my $devproduct = 0;
     if (( $allvariables->{'DEVELOPMENTPRODUCT'} ) && ( $allvariables->{'DEVELOPMENTPRODUCT'} == 1 )) { $devproduct = 1; }
-    
-    my $cwsproduct = 0;
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $cwsproduct = 1; }
 
-    if (( $cwsproduct ) || ( $devproduct ))  # use "DEV300m75"
+    if ( $devproduct )  # use "DEV300m75"
     {
         my $source = uc($installer::globals::build); # DEV300
         my $localminor = "";
@@ -524,15 +520,11 @@ sub set_date_string
 
     my $devproduct = 0;
     if (( $allvariables->{'DEVELOPMENTPRODUCT'} ) && ( $allvariables->{'DEVELOPMENTPRODUCT'} == 1 )) { $devproduct = 1; }
-    
-    my $cwsproduct = 0;
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $cwsproduct = 1; }
 
     my $releasebuild = 1;
     if (( $allvariables->{'SHORT_PRODUCTEXTENSION'} ) && ( $allvariables->{'SHORT_PRODUCTEXTENSION'} ne "" )) { $releasebuild = 0; }	
 
-    if (( ! $devproduct ) && ( ! $cwsproduct ) && ( ! $releasebuild ))
+    if (( ! $devproduct ) && ( ! $releasebuild ))
     {
         my @timearray = localtime(time);
 
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index edd34fa..81c50de 100644
--- a/solenv/bin/modules/installer/scriptitems.pm
+++ b/solenv/bin/modules/installer/scriptitems.pm
@@ -810,9 +810,6 @@ sub replace_setup_variables
         $buildidstring = substr($buildidstring, 0, -1);
     }
 
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $buildidstring = $buildidstring . "\[CWS\:" . $ENV{'CWS_WORK_STAMP'} . "\]"; }
-
     if ( $localminor =~ /^\s*\w(\d+)\w*\s*$/ ) { $localminor = $1; }
 
     my $updateid = $productname . "_" . $userdirproductversion . "_" . $$languagestringref;
diff --git a/solenv/bin/modules/installer/windows/msp.pm b/solenv/bin/modules/installer/windows/msp.pm
index b48b8d3..e394596 100644
--- a/solenv/bin/modules/installer/windows/msp.pm
+++ b/solenv/bin/modules/installer/windows/msp.pm
@@ -524,7 +524,6 @@ sub set_mspfilename
         my $hotfixaddon = "hotfix_";
         $hotfixaddon = $hotfixaddon . $installer::globals::buildid;
         my $cwsname = "";
-        if ( $ENV{'CWS_WORK_STAMP'} ) { $hotfixaddon = $ENV{'CWS_WORK_STAMP'}; }
         if ( $allvariables->{'OVERWRITE_CWSNAME'} ) { $hotfixaddon = $allvariables->{'OVERWRITE_CWSNAME'}; }
         $databasename = $databasename . "_" . $hotfixaddon;
     }
@@ -904,10 +903,6 @@ sub change_patchmetadata_table
     my $displayaddon = "";
     if ( $allvariables->{'PATCHDISPLAYADDON'} ) { $displayaddon = $allvariables->{'PATCHDISPLAYADDON'}; }
 
-    my $cwsname = "";
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $cwsname = $ENV{'CWS_WORK_STAMP'}; }
-    if (( $cwsname ne "" ) && ( $allvariables->{'OVERWRITE_CWSNAME'} )) { $cwsname = $allvariables->{'OVERWRITE_CWSNAME'}; }
-
     my $patchsequence = get_patchsequence($allvariables);
 
     if (( $allvariables->{'SERVICEPACK'} ) && ( $allvariables->{'SERVICEPACK'} == 1 ))
@@ -917,8 +912,8 @@ sub change_patchmetadata_table
     }
     else
     {
-        $displaynamevalue = $base . " Hotfix " . $cwsname . " " . $displayaddon . " " . $patchsequence . " Build: " . $installer::globals::buildid;
-        $descriptionvalue = $base . " Hotfix " . $cwsname . " " . $displayaddon . " " . $patchsequence . " Build: " . $installer::globals::buildid;	
+        $displaynamevalue = $base . " Hotfix " . $displayaddon . " " . $patchsequence . " Build: " . $installer::globals::buildid;
+        $descriptionvalue = $base . " Hotfix " . $displayaddon . " " . $patchsequence . " Build: " . $installer::globals::buildid;	
         $displaynamevalue =~ s/    / /g;	
         $descriptionvalue =~ s/    / /g;	
         $displaynamevalue =~ s/   / /g;	
diff --git a/solenv/bin/modules/installer/windows/property.pm b/solenv/bin/modules/installer/windows/property.pm
index e89139f..51e9b88 100644
--- a/solenv/bin/modules/installer/windows/property.pm
+++ b/solenv/bin/modules/installer/windows/property.pm
@@ -74,9 +74,6 @@ sub get_arpcomments_for_property_table
     
     my $buildidstring = "(" . $installer::globals::build . $localminor . "(Build:" . $installer::globals::buildid . "))";
 
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $buildidstring = $buildidstring . "\[CWS\:" . $ENV{'CWS_WORK_STAMP'} . "\]"; }
-
     $comment = $comment . " " . $buildidstring;
     
     return $comment;
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index d983c52..ce6b0ce 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -1611,9 +1611,6 @@ sub prepare_windows_patchfiles
     if ( ! $allvariableshashref->{'WINDOWSPATCHLEVEL'} ) { installer::exiter::exit_program("ERROR: No Windows patch level defined in list file (WINDOWSPATCHLEVEL) !", "prepare_windows_patchfiles"); }
     my $windowspatchlevel = $installer::globals::buildid;
 
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $windowspatchlevel = $ENV{'CWS_WORK_STAMP'} . $windowspatchlevel; }
-
     for ( my $i = 0; $i <= $#{$filesref}; $i++ )
     {
         my $onefile = ${$filesref}[$i];
diff --git a/solenv/bin/modules/installer/ziplist.pm b/solenv/bin/modules/installer/ziplist.pm
index 829ab51..de4cd0c 100644
--- a/solenv/bin/modules/installer/ziplist.pm
+++ b/solenv/bin/modules/installer/ziplist.pm
@@ -734,9 +734,6 @@ sub replace_variables_in_ziplist_variables
     
     my $buildidstringcws = $installer::globals::build . $localminor . "(Build:" . $installer::globals::buildid . ")";
 
-    # the environment variable CWS_WORK_STAMP is set only in CWS
-    if ( $ENV{'CWS_WORK_STAMP'} ) { $buildidstringcws = $buildidstringcws . "\[CWS\:" . $ENV{'CWS_WORK_STAMP'} . "\]"; }
-
     for ( my $i = 0; $i <= $#{$blockref}; $i++ )
     {
         if ($installer::globals::lastminor) { ${$blockref}[$i] =~ s/\{milestone\}/$milestonevariable/; }
diff --git a/solenv/bin/modules/packager/work.pm b/solenv/bin/modules/packager/work.pm
index 158e921..283810a 100644
--- a/solenv/bin/modules/packager/work.pm
+++ b/solenv/bin/modules/packager/work.pm
@@ -268,7 +268,6 @@ sub do_broadcast
 
     if ( ! $ENV{'WORK_STAMP'} ) { packager::exiter::exit_program("ERROR: Environment variable WORK_STAMP not set!", "do_broadcast"); }
     my $workstamp = $ENV{WORK_STAMP};
-    my $cwsworkstamp = $ENV{CWS_WORK_STAMP}; 
 
     my $prjdir = $tempdir;
     $prjdir =~ s/$prj/$prjname/;
@@ -280,14 +279,8 @@ sub do_broadcast
     if ( ! $tmpfile_handle ) {
         packager::exiter::exit_program("ERROR: Couldn't open temporary file \"$tmpfile_name\"!", "do_broadcast");
     }
-    if (defined($cwsworkstamp)) {
-        print $tmpfile_handle "\"$cwsworkstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"";
-        print "to tmpfile: \"$cwsworkstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"\n";
-    }
-    else {
-        print $tmpfile_handle "\"$workstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"";
-        print "to tmpfile: \"$workstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"\n";
-    }
+    print $tmpfile_handle "\"$workstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"";
+    print "to tmpfile: \"$workstamp;$platform;$prjname;$prjdir;nobase;$prjdep\"\n";
     close $tmpfile_handle;
     my $returnvalue = system("cmd_bcst -s 18 \@$tmpfile_name");
     print "cmd_bcst -s 18 \@$tmpfile_name\n";
diff --git a/solenv/gbuild/Deliver.mk b/solenv/gbuild/Deliver.mk
index aa5835a..cbf840b 100644
--- a/solenv/gbuild/Deliver.mk
+++ b/solenv/gbuild/Deliver.mk
@@ -50,11 +50,8 @@ define gb_Deliver_add_deliverable
 ifeq ($(MAKECMDGOALS),showdeliverables)
 $(call gb_Deliver_do_add,$(OUTDIR)/$(1),$(2),$(3))
 else
-ifneq ($(CWS_WORK_STAMP),)
-else
 $(call gb_Deliver_do_add,$(OUTDIR)/$(1),$(2),$(3))
 endif
-endif
 
 endef
 
diff --git a/solenv/inc/installationtest.mk b/solenv/inc/installationtest.mk
index bc4baa8..69e5738 100644
--- a/solenv/inc/installationtest.mk
+++ b/solenv/inc/installationtest.mk
@@ -46,10 +46,10 @@ my_file = file://
 .END
 
 # The following conditional is an approximation of: UPDATER set to YES and
-# SHIPDRIVE set and CWS_WORK_STAMP not set and either SOL_TMP not set or
+# SHIPDRIVE set and either SOL_TMP not set or
 # SOLARENV set to a pathname of which SOL_TMP is not a prefix:
 .IF "$(UPDATER)" == "YES" && "$(SHIPDRIVE)" != "" && \
-    "$(CWS_WORK_STAMP)" == "" && "$(SOLARENV:s/$(SOL_TMP)//" == "$(SOLARENV)"
+    "$(SOLARENV:s/$(SOL_TMP)//" == "$(SOLARENV)"
 my_instsets = $(shell ls -dt \
     $(SHIPDRIVE)/$(INPATH)/LibreOffice/archive/$(WORK_STAMP)_$(LAST_MINOR)_native_packed-*_$(defaultlangiso).$(BUILD))
 installationtest_instset = $(my_instsets:1)
diff --git a/solenv/inc/rules.mk b/solenv/inc/rules.mk
index 0ff659c..ca816d8 100644
--- a/solenv/inc/rules.mk
+++ b/solenv/inc/rules.mk
@@ -97,8 +97,8 @@ $(OBJ)/%.obj : %.cc
 PCHOUTDIR=$(SLO)/pch
 PCHEXOUTDIR=$(SLO)/pch_ex
 .ELSE			# "$(NETWORK_BUILD)"==""
-PCHOUTDIR=$(TMP)/$(BUILD)$(CWS_WORK_STAMP)$(PRJNAME)$(PROEXT)
-PCHEXOUTDIR=$(TMP)/$(BUILD)$(CWS_WORK_STAMP)$(PRJNAME)_ex$(PROEXT)
+PCHOUTDIR=$(TMP)/$(BUILD)$(PRJNAME)$(PROEXT)
+PCHEXOUTDIR=$(TMP)/$(BUILD)$(PRJNAME)_ex$(PROEXT)
 .ENDIF			# "$(NETWORK_BUILD)"==""
 $(SLO)/precompiled.% .PHONY:
     -$(MKDIRHIER) $(SLO)/pch
diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk
index 61e7ba0..352b850 100644
--- a/solenv/inc/settings.mk
+++ b/solenv/inc/settings.mk
@@ -57,7 +57,7 @@ NETWORK_BUILD:=TRUE
 PLATFORMID = $(RTL_OS:l)_$(RTL_ARCH:l)
 EXTNAME*=$(EXTENSIONNAME)_in
 
-.IF "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
+.IF "$(UPDATER)"!=""
 
 .IF "$(SOURCEVERSION)"!="$(WORK_STAMP)"
 .ERROR : ; @echo Forced error: minor.mk in solenv/inc does not match your version!
@@ -69,7 +69,7 @@ WRONG_SOURCEVERSION
     @@-$(MKDIRHIER) $(SOLARVERSION)/$(INPATH)/inc
     @@$(COPY) $(SOLARENV)/inc/minor.mk $(SOLARVERSION)/$(INPATH)/inc/$(UPD)minor.mk
     @@$(TOUCH) $(SOLARVERSION)/$(INPATH)/inc/minormkchanged.flg
-.ENDIF          # "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
+.ENDIF          # "$(UPDATER)"!=""
 
 # Force creation of $(SOLARVERSION)/$(INPATH)/inc/
 # $(UPD)minor.mk could be empty as it's contents were already included from minor.mk
diff --git a/solenv/inc/target.mk b/solenv/inc/target.mk
index 2eccf82..4ef0a23 100644
--- a/solenv/inc/target.mk
+++ b/solenv/inc/target.mk
@@ -1417,7 +1417,7 @@ $(SCP_PRODUCT_TYPE):
     $(TOUCH) $@
 
 .IF "$(COMPVERMK)"!=""
-.IF "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
+.IF "$(UPDATER)"!=""
 .IF "$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
 COMPVERMK_PHONY:=.PHONY
 .ENDIF			# "$(COMPATH:s!\!/!)"!="$(COMPATH_STORED)"
@@ -1444,7 +1444,7 @@ COMPVTMP:=$(mktmp iii)
 .ENDIF          # "$(CCNUMVER)"!=""
 
 .ENDIF			# "$(COMPVERMK)"!=""
-.ENDIF			# "$(UPDATER)"!="" || "$(CWS_WORK_STAMP)"!=""
+.ENDIF			# "$(UPDATER)"!=""
 
 .IF "$(JAVAVERMK)"!=""
 .IF "$(JAVALOCATION)"!="$(JAVA_HOME)"
commit 57d8825f8f2554aa8d1250f1714bad1c032d427f
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Fri Jul 1 14:59:06 2011 +0300

    USE_PACKAGER is not set anywhere, so factor it out

diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk
index 800bcbf..20cd85f 100644
--- a/instsetoo_native/util/makefile.mk
+++ b/instsetoo_native/util/makefile.mk
@@ -84,11 +84,10 @@ allhelplangiso:=$(foreach,i,$(alllangiso) $(foreach,j,$(help_exist) $(eq,$i,$j
 xxxx:
     echo $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product LibreOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml
 
-.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
+.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO"
 ALLTAR  : $(LOCALPYFILES)
     @echo "No EPM: do no packaging at this stage"
-.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
-.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
+.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO"
 .IF "$(ENABLE_RELEASE_BUILD)"=="TRUE"
 .IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
 ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) ooohelppack)
@@ -102,10 +101,7 @@ ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(
 ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(NULL) ooodevhelppack) sdkoodev_en-US ure_en-US
 .ENDIF
 .ENDIF # "$(ENABLE_RELEASE_BUILD)"=="TRUE"
-.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
-ALLTAR : updatepack
-.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
-.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
+.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO"
 
 .IF "$(FORCE2ARCHIVE)" == "TRUE"
 PKGFORMAT = archive


More information about the Libreoffice-commits mailing list