[gnome-builder] build: Add m4 files not kept in repo to .gitignore



commit c1ad80f6d20152c49ac5ad299d38becac55a1310
Author: Patrick Griffis <tingping tingping se>
Date:   Wed Aug 3 00:38:30 2016 -0400

    build: Add m4 files not kept in repo to .gitignore

 build/autotools/Makefile.am |   18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/build/autotools/Makefile.am b/build/autotools/Makefile.am
index f8f07c5..8855e8e 100644
--- a/build/autotools/Makefile.am
+++ b/build/autotools/Makefile.am
@@ -13,22 +13,10 @@ EXTRA_DIST = \
        tap-test \
        $(NULL)
 
+# We want to ignore all m4 files except a few
+# we explicitly keep in repo
 GITIGNOREFILES = \
-       glib-2.0.m4 \
-       glib-gettext.m4 \
-       gsettings.m4 \
-       gtk-doc.m4 \
-       intltool.m4 \
-       libtool.m4 \
-       ltoptions.m4 \
-       ltsugar.m4 \
-       ltversion.m4 \
-       lt~obsolete.m4 \
-       nls.m4 \
-       mm-common.m4 \
-       mm-doc.m4 \
-       mm-module.m4 \
-       mm-pkg.m4 \
+       $(filter-out $(EXTRA_DIST),$(wildcard *.m4)) \
        $(NULL)
 
 -include $(top_srcdir)/git.mk


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