[jhbuild] Default to builddir != srcdir



commit 000f8205b7759b96d1649688d739c4deac6e4f8b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Mar 23 11:39:39 2016 +0000

    Default to builddir != srcdir
    
    Enable a separate buildroot under XDG_CACHE_HOME.
    
    We need to ensure that building GNOME with jhbuild exercises the same
    build and code paths as building GNOME with Continuous.
    
    We also need to ensure that modules distcheck more easily.
    
    See discussion on desktop-devel-list:
    
    https://mail.gnome.org/archives/desktop-devel-list/2016-February/msg00070.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=652475

 jhbuild/defaults.jhbuildrc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/defaults.jhbuildrc b/jhbuild/defaults.jhbuildrc
index 0772fb2..8fc52b8 100644
--- a/jhbuild/defaults.jhbuildrc
+++ b/jhbuild/defaults.jhbuildrc
@@ -54,7 +54,7 @@ xdg_cache_home = os.environ.get('XDG_CACHE_HOME',
                                              '.cache'))
 tarballdir = os.path.join(xdg_cache_home, 'jhbuild', 'downloads')
 
-buildroot = None     # if set, packages will be built with srcdir!=builddir
+buildroot = os.path.join(xdg_cache_home, 'jhbuild', 'build')
 
 # When using srcdir!=builddir builds, this key allows you to use a
 # different builddir name.  Some people like this because it reduces


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]