diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-14 02:28:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-14 02:28:12 +0000 |
commit | c4cc693de740e1396f853f7c29b12800ee42fa74 (patch) | |
tree | 470d0138df92504bef4a12889b8af31534770253 | |
parent | 8ab41b4babcfcc28bdd3b174b2dbfac96b4a627f (diff) | |
download | glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.gz glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.xz glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.zip |
Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makerules (stub-$(subdir)): Put cmds including cd inside (...) with output redirect outside it.
-rw-r--r-- | Makerules | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makerules b/Makerules index 048eff21b8..f235d172bb 100644 --- a/Makerules +++ b/Makerules @@ -754,12 +754,12 @@ stubs: $(common-objpfx)stub-$(subdir) s = $(sysdep_dir)/stub $(common-objpfx)stub-$(subdir): $(+depfiles) # Use /dev/null since `...` might expand to empty. - s=`cd $s; /bin/pwd`; \ - $(patsubst %,cd %;,$(objdir)) \ - sed -n 's/^stub_warning *(\([^)]*\).*$$/#define __stub_\1/p' \ - `sed -n 's@^.*$s/\([a-z0-9_-]*\.c\).*$$@'"$$s"/'\1@p' \ - $(patsubst $(objpfx)%,%,$^) /dev/null` \ - /dev/null > $(@F)T + (s=`cd $s; /bin/pwd`; \ + $(patsubst %,cd %;,$(objdir)) \ + sed -n 's/^stub_warning *(\([^)]*\).*$$/#define __stub_\1/p' \ + `sed -n 's@^.*$s/\([a-z0-9_-]*\.c\).*$$@'"$$s"/'\1@p' \ + $(patsubst $(objpfx)%,%,$^) /dev/null` \ + /dev/null) > $@T mv -f $@T $@ # Make the distribution tar file. |