[mousetweaks] create m4 directory during autogen.sh (Bug #579397)
- From: Gerd Kohlberger <gerdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [mousetweaks] create m4 directory during autogen.sh (Bug #579397)
- Date: Sat, 18 Apr 2009 12:00:24 -0400 (EDT)
commit 278f4e491d55f668a101eacaeb3e90fea06b03ad
Author: Gerd Kohlberger <gerdk src gnome org>
Date: Sat Apr 18 17:50:23 2009 +0200
create m4 directory during autogen.sh (Bug #579397)
---
Makefile.am | 3 +++
autogen.sh | 5 +++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index adfb41f..242b53e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,6 +28,9 @@ MAINTAINERCLEANFILES = \
$(srcdir)/intltool-merge.in \
$(srcdir)/intltool-update.in
+maintainer-clean-local:
+ -rm -rf $(top_srcdir)/m4
+
GITIGNOREFILES = m4
-include $(top_srcdir)/git.mk
diff --git a/autogen.sh b/autogen.sh
index 0bf08e0..abd7e5b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -11,6 +11,11 @@ PKG_NAME="mousetweaks"
exit 1
}
+# create marco directory
+if test ! -e $srcdir/m4; then
+ mkdir $srcdir/m4
+fi
+
which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME SVN"
exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]