summaryrefslogtreecommitdiffstats
path: root/update-file-lists.mk
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-14 11:19:22 -0800
committerRoland McGrath <roland@redhat.com>2009-01-14 11:19:22 -0800
commitabd05a87575bb6b8d6b46f2ca9ca42fb4eeef569 (patch)
treeb79f09a8e2df675bf90dc56ac40978466de3d767 /update-file-lists.mk
parentd84357134a706bb400eeff648fce9325e3c8c0b7 (diff)
downloaddebuginfo-test-scripts-abd05a87575bb6b8d6b46f2ca9ca42fb4eeef569.tar.gz
debuginfo-test-scripts-abd05a87575bb6b8d6b46f2ca9ca42fb4eeef569.tar.xz
debuginfo-test-scripts-abd05a87575bb6b8d6b46f2ca9ca42fb4eeef569.zip
Tweak makefile
Diffstat (limited to 'update-file-lists.mk')
-rwxr-xr-xupdate-file-lists.mk4
1 files changed, 2 insertions, 2 deletions
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)