1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 24 Mar 1999 12:35:28 +0000 (12:35 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Mar 1999 12:35:28 +0000 (12:35 +0000)
* Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
works properly in subdirs.

ChangeLog
Makeconfig

index 659bcad..a3b328f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
+       works properly in subdirs.
+
 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
 
        * sysdeps/mach/hurd/Makefile: Undo last change.
index c866284..3a5780a 100644 (file)
@@ -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";                                    \