[nautilus-actions] clean up aborted make distcheck before running autogen
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] clean up aborted make distcheck before running autogen
- Date: Mon, 22 Nov 2010 21:34:05 +0000 (UTC)
commit 41ab8575bfe812e7127078e42c94708f65adbae0
Author: Pierre Wieser <pwieser trychlos org>
Date: Mon Nov 22 22:01:11 2010 +0100
clean up aborted make distcheck before running autogen
Rationale: gnome-autogen.sh recursively runs anywhere where it found a configure.ac or configure.in.
As an aborted 'make distcheck' leaves the build directory, gnome-autogen.sh tries to run in it,
and fails.
run-autogen.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/run-autogen.sh b/run-autogen.sh
index 7943c13..6f741c6 100755
--- a/run-autogen.sh
+++ b/run-autogen.sh
@@ -1,4 +1,10 @@
#!/bin/sh
+
+# a nautilus-actions-x.y may remain after an aborted make distcheck
+# such a directory breaks gnome-autogen.sh generation
+# so clean it here
+find . -maxdepth 1 -type d -name 'nautilus-actions-*' | xargs rm -fr
+
exec ./autogen.sh \
--prefix=$(pwd)/install \
--with-nautilus-extdir=$(pwd)/install/lib/nautilus \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]