[gnome-builder] libidemm: conditionally call mm-common-prepare, add mm generated files to .gitignore



commit 2e93b101df187b60035a06cba2ddf8b9daf7cb24
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Thu Apr 7 19:35:43 2016 +0200

    libidemm: conditionally call mm-common-prepare, add mm generated files to .gitignore

 autogen.sh                  |    4 +++-
 build/autotools/Makefile.am |    4 ++++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 72b9592..a8d6c32 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -19,7 +19,9 @@ glib-gettextize --force --copy || exit 1
 intltoolize --force --copy --automake || exit 1
 gtkdocize || exit 1
 
-mm-common-prepare --copy --force $srcdir/libidemm
+if command -v mm-common-prepare 2>/dev/null; then
+    mm-common-prepare --copy --force $srcdir/libidemm
+fi
 
 autoreconf --force --install -Wno-portability || exit 1
 
diff --git a/build/autotools/Makefile.am b/build/autotools/Makefile.am
index 2ab7bf8..f8f07c5 100644
--- a/build/autotools/Makefile.am
+++ b/build/autotools/Makefile.am
@@ -25,6 +25,10 @@ GITIGNOREFILES = \
        ltversion.m4 \
        lt~obsolete.m4 \
        nls.m4 \
+       mm-common.m4 \
+       mm-doc.m4 \
+       mm-module.m4 \
+       mm-pkg.m4 \
        $(NULL)
 
 -include $(top_srcdir)/git.mk


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