public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Fix sysd-sorted generation
@ 2003-04-27 16:11 Andreas Schwab
  2003-04-27 18:36 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2003-04-27 16:11 UTC (permalink / raw)
  To: libc-hacker

The sysd-sorted rule didn't work in a subdirectory.

Andreas.

2003-04-27  Andreas Schwab  <schwab@suse.de>

	* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
	subdirectory.

--- Makeconfig.~1.282.~	2003-04-16 23:05:35.000000000 +0200
+++ Makeconfig	2003-04-27 16:50:18.000000000 +0200
@@ -927,11 +927,11 @@ $(common-objpfx)sysd-dirs: $(common-objp
 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;							  \

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix sysd-sorted generation
  2003-04-27 16:11 Fix sysd-sorted generation Andreas Schwab
@ 2003-04-27 18:36 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2003-04-27 18:36 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

> 2003-04-27  Andreas Schwab  <schwab@suse.de>
> 
> 	* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
> 	subdirectory.

I put this in.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-27 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 16:11 Fix sysd-sorted generation Andreas Schwab
2003-04-27 18:36 ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).