diff options
author | Roland McGrath <roland@redhat.com> | 2009-01-14 12:28:05 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-01-14 12:28:05 -0800 |
commit | 4ad30f7cb98ad5ef6b86109ff466941e0fe9d82b (patch) | |
tree | 79d34522159b34165c2c0c060468e42be63b9935 /update-file-lists.mk | |
parent | 3ce543dfa5851ff7003bc2db227e9a1e780c1f0e (diff) | |
download | debuginfo-test-scripts-4ad30f7cb98ad5ef6b86109ff466941e0fe9d82b.tar.gz debuginfo-test-scripts-4ad30f7cb98ad5ef6b86109ff466941e0fe9d82b.tar.xz debuginfo-test-scripts-4ad30f7cb98ad5ef6b86109ff466941e0fe9d82b.zip |
Bogon check
Diffstat (limited to 'update-file-lists.mk')
-rwxr-xr-x | update-file-lists.mk | 5 |
1 files changed, 5 insertions, 0 deletions
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) |