diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-04-23 21:23:50 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-04-23 21:43:30 +0100 |
commit | d0e4821ae8930912bc171f51cef740d98b3046d3 (patch) | |
tree | d88b47d633c8a25e10178702000f42f4e4eec28c | |
parent | 30cf9b400eeb22af2bed496325311276111ae32c (diff) | |
download | clutter-d0e4821ae8930912bc171f51cef740d98b3046d3.tar.gz |
build: Create .gitignore files in the current directory
We cannot touch srcdir when distchecking.
-rw-r--r-- | build/autotools/Makefile.am.gitignore | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/autotools/Makefile.am.gitignore b/build/autotools/Makefile.am.gitignore index c3f4e0a11..b019a3ec3 100644 --- a/build/autotools/Makefile.am.gitignore +++ b/build/autotools/Makefile.am.gitignore @@ -5,19 +5,19 @@ GIT_IGNORE_FILES = $(noinst_PROGRAMS) $(check_PROGRAMS) $(check_SCRIPTS) $(GIT_IGNORE_EXTRA) -$(srcdir)/.gitignore: Makefile.am +.gitignore: Makefile.am $(QUIET_GEN)( \ echo "*.o" ; \ echo ".gitignore" ; \ - ) > $(srcdir)/.gitignore ; \ + ) > .gitignore ; \ for p in $(GIT_IGNORE_FILES); do \ - echo "/$$p" >> $(srcdir)/.gitignore ; \ + echo "/$$p" >> .gitignore ; \ done -gitignore: $(srcdir)/.gitignore +gitignore: .gitignore gitignore-clean: - $(QUIET_RM)rm -f $(srcdir)/.gitignore + $(QUIET_RM)rm -f .gitignore .PHONY: gitignore gitignore-clean |