summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-04-23 21:23:50 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-04-23 21:23:50 +0100
commita67997ef3998d099453f637d012315bf1126d67a (patch)
treec6c782c3ca9fb60f8b8342a6da355a6d61856e6c /build
parentf8687f9430a5270818c945d4145abbd7f7693f3e (diff)
downloadclutter-a67997ef3998d099453f637d012315bf1126d67a.tar.gz
build: Create .gitignore files in the current directory
We cannot touch srcdir when distchecking.
Diffstat (limited to 'build')
-rw-r--r--build/autotools/Makefile.am.gitignore10
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