[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kde-build w/ INSTALLFROMSCRATCH and specified modules
From:       Adriaan de Groot <groot () kde ! org>
Date:       2005-06-02 20:14:16
Message-ID: 200506022214.16692.groot () kde ! org
[Download RAW message or body]

I just had a somewhat frustrating experience with kde-build (which otherwise 
just rox, in terms of straightforwardness) -- when you call it with a list of 
modules, say

	kde-build kdepim

then INSTALLFROMSCRATCH is still obeyed; if it is set to "yes", then $KDEDIR 
is removed before the build starts, which, if you're just building a single 
module, is a bit inconvenient. How about this patch to avoid it?

--- kde-build   Thu Jun  2 22:09:13 2005
+++ kdesdk/scripts/kde-build    Tue May 17 06:40:37 2005
@@ -465,7 +465,7 @@

 # Clean the installation directory if selected.
 #
-if test "$INSTALLFROMSCRATCH" = yes && test -z "$specifiedModules" ; then
+if [ "$INSTALLFROMSCRATCH" = yes ]; then
   mkdir -p $KDEDIRS 2> /dev/null
   if [ ! -w $KDEDIRS ]; then
     echo "Enter the root password to clean the installation directory."


Granted, now doing kde-build arts kdelibs kdebase no longer gives you a clean 
setup.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic