summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/autotools/Makefile.am.gitignore4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/autotools/Makefile.am.gitignore b/build/autotools/Makefile.am.gitignore
index e86755b64..c3f4e0a11 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