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 /Makerules | |
parent | 8ab41b4babcfcc28bdd3b174b2dbfac96b4a627f (diff) | |
download | glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.zip glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.gz glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.bz2 |
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.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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. |