summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-03-24 12:35:28 +0000
committerRoland McGrath <roland@gnu.org>1999-03-24 12:35:28 +0000
commit9ba5483de469c1b95d9f2da6b5d8a260f0cf31a4 (patch)
tree6afe15a7da0da189933d81096b502a534ef1e808 /Makeconfig
parent5407f442ec52d7aa7a92573b765dafecca74abe4 (diff)
1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
* Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule works properly in subdirs.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index c86628433a..3a5780aa5b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -784,7 +784,7 @@ $(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
all-Depend-files = $(wildcard $(..)*/Depend)
$(common-objpfx)sysd-sorted: $(..)scripts/gen-sorted.awk $(all-Depend-files) \
$(common-objpfx)sysd-dirs $(..)Makeconfig
- (dirs='$(patsubst $(..)%/Depend,%,$(filter %/Depend, $^))'; \
+ (dirs='$(patsubst $(..)%/Depend,$(..)%,$(filter %/Depend, $^))';\
for d in $$dirs; do \
while read on; do \
echo "depend $$d $$on"; \