From: Thierry Parmentelat Date: Mon, 30 Mar 2015 12:30:31 +0000 (+0200) Subject: convenience make target 'pyfiles' to list only python files among 'myfiles' X-Git-Tag: myslice-1.3~45^2~5^2~6 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=a82fba166b037611eb7da3cd3a1f6fb40b637488 convenience make target 'pyfiles' to list only python files among 'myfiles' --- diff --git a/Makefile b/Makefile index 80d49c4c..6f557bae 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,9 @@ redo-templates: clean-templates templates myfiles: force @git ls-files | egrep -v 'insert(_|-)above|third-party/|to-be-integrated/' +pyfiles: force + @git ls-files | grep '\.py$$' + # in general it's right to rely on the contents as reported by git tags: force $(MAKE-SILENT) myfiles | xargs etags