From abd05a87575bb6b8d6b46f2ca9ca42fb4eeef569 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Jan 2009 11:19:22 -0800 Subject: Tweak makefile --- update-file-lists.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update-file-lists.mk') diff --git a/update-file-lists.mk b/update-file-lists.mk index 4601070..209dbbd 100755 --- a/update-file-lists.mk +++ b/update-file-lists.mk @@ -8,14 +8,14 @@ ifeq (,$(summary)) dirs := $(wildcard */) -$(which).list: $(dirs:=$(which).list) +$(which).list: %: $(dirs:=$(which).list) cat -- $^ > $@.new mv -f $@.new $@ me := $(MAKEFILE_LIST) FORCE:; -$(dirs:=$(which).list): FORCE +$(dirs:=$(which).list): %: FORCE $(MAKE) -f `(cd $(dir $(me)); pwd)`/$(notdir $(me)) \ -C $(@D) which=$(which) -- cgit