From 4ad30f7cb98ad5ef6b86109ff466941e0fe9d82b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Jan 2009 12:28:05 -0800 Subject: Bogon check --- update-file-lists.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/update-file-lists.mk b/update-file-lists.mk index fffa2e1..f777300 100755 --- a/update-file-lists.mk +++ b/update-file-lists.mk @@ -8,9 +8,14 @@ ifeq (,$(summary)) dirs := $(wildcard */) +ifeq (,$(dirs)) +$(which).list: + @echo "`pwd` not good"; exit 2 +else $(which).list: %: $(dirs:=$(which).list) cat -- $^ > $@.new mv -f $@.new $@ +endif me := $(MAKEFILE_LIST) -- cgit