[pitivi] build: Don't attempt locale-uninstalled bits if DESTDIR is set



commit 5c94a2428e2ce4c0686198c9be5cc145c10952e7
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 24 15:54:11 2013 -0400

    build: Don't attempt locale-uninstalled bits if DESTDIR is set
    
    This breaks the build in Continuous, because it has a read-only bind
    mount outside of the explicitly provided $DESTDIR, and we were
    attempting to write files outside of that area.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710833

 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7079a0a..7a1edec 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,8 +25,9 @@ EXTRA_DIST +=                   \
         intltool-update.in      \
         $(man_MANS)
 
+# This rule allows running pitivi uninstalled
 locale-uninstalled:
-       if test -d po; then \
+       if test -d po && test -z "$(DESTDIR)"; then \
            $(MAKE) -C po datadir=../$(top_builddir) install; \
        fi
 


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