summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-03-29 00:13:58 +0000
committerRoland McGrath <roland@redhat.com>1994-03-29 00:13:58 +0000
commitebe1ed2e49a4717b145a87b656b5b3b6caf2e3a5 (patch)
tree8bc25c5be36b8225d0fc06e38fac6b1115aeb256 /GNUmakefile
parent6a7b0d623b680d396fadc789f868f7301e348f6e (diff)
downloadgunmake-ebe1ed2e49a4717b145a87b656b5b3b6caf2e3a5.tar.gz
(Makefile.in): Edit MAKE assignment into @SET_MAKE@.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cf3d1a3..5a7fe80 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -172,7 +172,7 @@ nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
endif
# The distributed Makefile.in should contain deps for remote-stub only.
Makefile.in: compatMakefile $(nolib-deps:remote-%.dep=remote-stub.dep)
- (cat $<; \
+ (sed 's/^MAKE[ ]*=.*$$/@SET_MAKE@/' $<; \
echo '# Automatically generated dependencies.'; \
sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \
) > $@