From: Thierry Parmentelat Date: Fri, 13 Jan 2017 11:10:38 +0000 (+0100) Subject: ignore html and pdf files when doing stuff like make tags X-Git-Tag: sfa-3.1-21~4^2~2 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=f857533f5e3535599eb4b74b8ac214e50370a542 ignore html and pdf files when doing stuff like make tags --- diff --git a/Makefile b/Makefile index e6aa5a99..02bab1b8 100644 --- 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