[pitivi] build: Don't attempt locale-uninstalled bits if DESTDIR is set
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] build: Don't attempt locale-uninstalled bits if DESTDIR is set
- Date: Wed, 30 Oct 2013 21:35:35 +0000 (UTC)
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]