makefile: only search for licenses and long descriptions between actual list beginning/end

This commit is contained in:
nodiscc 2016-08-21 23:45:29 +02:00
parent e1566bd709
commit 7696a01a1b

View file

@ -19,11 +19,11 @@ nofullstop:
longdescriptions: longdescriptions:
@echo -e "\nDescriptions exceeding 250 chars:" @echo -e "\nDescriptions exceeding 250 chars:"
@egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}' @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}'
listlicenses: listlicenses:
@echo -e "\n List of licenses:" @echo -e "\n List of licenses:"
@egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique
contrib: contrib:
@git shortlog -sne @git shortlog -sne