aboutsummaryrefslogtreecommitdiff
path: root/Makerules
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 /Makerules
parent8ab41b4babcfcc28bdd3b174b2dbfac96b4a627f (diff)
downloadglibc-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--Makerules12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makerules b/Makerules
index 048eff2..f235d17 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.