diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-01-01 19:39:33 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-04-23 20:32:24 +0100 |
commit | ff9895e1a42bd65d287ee39412d7a59671cfe55b (patch) | |
tree | 3e02cb802023311bd204b9c06b3d3a0ede9bac93 | |
parent | f3c1560c48c999645c056097c138e7a3304361e0 (diff) | |
download | clutter-ff9895e1a42bd65d287ee39412d7a59671cfe55b.tar.gz |
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>
-rw-r--r-- | 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 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 |