[clutter/clutter-1.20] build: Fix up gitignore generation rules



commit ff9895e1a42bd65d287ee39412d7a59671cfe55b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Jan 1 19:39:33 2015 +0000

    build: Fix up gitignore generation rules
    
    Use more sources, and allow adding files to the ignore list when
    including Makefile.am.gitignore.
    
    (cherry picked from commit 7bfd62f755410a6982a436f3edc938666fe5cdb9)
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 build/autotools/Makefile.am.gitignore |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/build/autotools/Makefile.am.gitignore b/build/autotools/Makefile.am.gitignore
index e86755b..c3f4e0a 100644
--- a/build/autotools/Makefile.am.gitignore
+++ b/build/autotools/Makefile.am.gitignore
@@ -3,12 +3,14 @@
 # generator of Git ignore files, and it's not meant to be used as
 # the top-level Git ignore file generator.
 
+GIT_IGNORE_FILES = $(noinst_PROGRAMS) $(check_PROGRAMS) $(check_SCRIPTS) $(GIT_IGNORE_EXTRA)
+
 $(srcdir)/.gitignore: Makefile.am
        $(QUIET_GEN)( \
          echo "*.o" ; \
          echo ".gitignore" ; \
        ) > $(srcdir)/.gitignore ; \
-       for p in $(noinst_PROGRAMS); do \
+       for p in $(GIT_IGNORE_FILES); do \
                echo "/$$p" >> $(srcdir)/.gitignore ; \
        done
 


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