From 9ba5483de469c1b95d9f2da6b5d8a260f0cf31a4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Mar 1999 12:35:28 +0000 Subject: [PATCH] 1999-03-24 Roland McGrath * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule works properly in subdirs. --- ChangeLog | 5 +++++ Makeconfig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 659bcadcc4..a3b328f069 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-03-24 Roland McGrath + + * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule + works properly in subdirs. + 1999-03-23 Roland McGrath * sysdeps/mach/hurd/Makefile: Undo last change. 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"; \