ignore html and pdf files when doing stuff like make tags
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 13 Jan 2017 11:10:38 +0000 (12:10 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 13 Jan 2017 11:10:38 +0000 (12:10 +0100)
Makefile

index e6aa5a9..02bab1b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,7 @@ files:
        @find . -type f | egrep -v '^\./\.|/\.git/|/\.svn/|TAGS|AA-|~$$|egg-info|\.(py[co]|doc|html|pdf|png|svg|out|bak|dg|pickle)$$' 
 
 git-files:
-       @git ls-files | grep -v '\.doc$$'
+       @git ls-files | egrep -v '\.(doc|html|pdf)$$'
 
 tags:  
        $(MAKE) git-files | xargs etags