aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-14 02:28:12 +0000
committerRoland McGrath <roland@gnu.org>1996-05-14 02:28:12 +0000
commitc4cc693de740e1396f853f7c29b12800ee42fa74 (patch)
tree470d0138df92504bef4a12889b8af31534770253
parent8ab41b4babcfcc28bdd3b174b2dbfac96b4a627f (diff)
downloadglibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar
glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.gz
glibc-c4cc693de740e1396f853f7c29b12800ee42fa74.tar.bz2
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--Makerules12
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.