ignore .git when making tags
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 6 Dec 2010 13:18:44 +0000 (14:18 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 6 Dec 2010 13:18:44 +0000 (14:18 +0100)
Makefile

index 85297af..01f8495 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 ETAGS=etags
 
 tags:
-       find . -type f -a '!' '(' -name '*.x86' -o -name '*.x86_64' ')' | grep -v '/\.svn/' | xargs $(ETAGS)
+       find . -type f -a '!' '(' -name '*.x86' -o -name '*.x86_64' ')' | egrep -v '/\.(svn|git)/' | xargs $(ETAGS)
 
 .PHONY: tags