[clutter] build: Create .gitignore files in the current directory



commit a67997ef3998d099453f637d012315bf1126d67a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Apr 23 21:23:50 2015 +0100

    build: Create .gitignore files in the current directory
    
    We cannot touch srcdir when distchecking.

 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 c3f4e0a..b019a3e 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
 


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