[PATCH] Make clean instead of unxvlngi6.pro for gbuild modules

Christian Dywan christian.dywan at lanedo.com
Fri Aug 19 01:21:12 PDT 2011


---
 solenv/bin/build.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 13e3ea7..7d5b4d8 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -1507,17 +1507,18 @@ sub cancel_build {
     }
     print STDERR "-----------------------------------------------------------------------\n";
     print STDERR "\n";
-    print STDERR "rm -Rf " . $ENV{'SRC_ROOT'} . "/$module/" . $ENV{'INPATH'} . " # optional module 'clean'\n";
     print STDERR "" . $ENV{'OOO_SHELL'} . "\n";
     print STDERR "cd " . $ENV{'SRC_ROOT'} . "\n";
     print STDERR "source ./" . $ENV{'ENV_SCRIPT'} . "\n";
     print STDERR "cd $module\n";
     if (is_gnumake_module($module))
     {
+        print STDERR "$ENV{GNUMAKE} clean # optional\n";
         print STDERR "$ENV{GNUMAKE} -r\n"
     }
     else
     {
+        print STDERR "rm -Rf " . $ENV{'SRC_ROOT'} . "/$module/" . $ENV{'INPATH'} . " # optional module 'clean'\n";
         print STDERR "build\n";
     }
     print STDERR "\n";
-- 
1.7.3.4


--------------080101090501020401080803--


More information about the LibreOffice mailing list