From 695648f8b4c74af36a6c6503228c6d990668220b Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Wed, 16 May 2012 13:48:12 +0300 Subject: [PATCH] lib/check.mk: catch missing READMEs for features `make check' is a bit more convenient than relying on my head... --- lib/check.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/check.mk b/lib/check.mk index d8a15fee..61d49a3c 100644 --- a/lib/check.mk +++ b/lib/check.mk @@ -9,3 +9,9 @@ check: | while read line; do \ echo "chmod 755 $$line"; \ done + @find features.in -maxdepth 1 -type d \ + | while read dir; do \ + if [ ! -s "$$dir/README" ]; then \ + echo "$$dir: missing README"; \ + fi; \ + done