From: Roland McGrath Date: Sun, 27 Apr 2003 18:36:13 +0000 (+0000) Subject: 2003-04-27 Andreas Schwab X-Git-Tag: cvs/glibc-2_3_3~811 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=499c0d78663e97dd74f2976a34e45f4c5b7a6448;p=glibc.git 2003-04-27 Andreas Schwab * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in subdirectory. --- 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; \