aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-27 18:36:13 +0000
committerRoland McGrath <roland@gnu.org>2003-04-27 18:36:13 +0000
commit499c0d78663e97dd74f2976a34e45f4c5b7a6448 (patch)
treed1bb1793a56b42551293ca9d4f9170498011cdd1 /Makeconfig
parent26576375b4162d7ab03dccc173606938fc663d6d (diff)
downloadglibc-499c0d78663e97dd74f2976a34e45f4c5b7a6448.tar
glibc-499c0d78663e97dd74f2976a34e45f4c5b7a6448.tar.gz
glibc-499c0d78663e97dd74f2976a34e45f4c5b7a6448.tar.bz2
glibc-499c0d78663e97dd74f2976a34e45f4c5b7a6448.zip
2003-04-27 Andreas Schwab <schwab@suse.de>
* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in subdirectory.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index 2245b9dc7d..3e7ddd3656 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -927,11 +927,11 @@ $(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"; \
- done < $$d/Depend; \
+ done < $(..)$$d/Depend; \
done; \
for f in $(all-subdirs); do \
echo $$f; \