summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Makefile18
2 files changed, 16 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f90383c..e61b8c3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-09-17 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * Makefile ($(prog-subdirs) $(lib-subdirs), %-lndist, %-clean,
+ %-relink, %-objs, %-install, %-install-headers, %-TAGS, %.d): Pass
+ -e to sub-make, so that explicit prefix= args (etc.) get passed
+ down correctly.
+
1999-09-09 Roland McGrath <roland@baalperazim.frob.com>
* Makeconf (link-executable): New variable, partial linking
diff --git a/Makefile b/Makefile
index 91a1210b..096eb34c 100644
--- a/Makefile
+++ b/Makefile
@@ -99,29 +99,29 @@ TAGS: $(addsuffix -TAGS,$(prog-subdirs) $(lib-subdirs))
## Targets used by the main targets above.
$(prog-subdirs) $(lib-subdirs): FORCE
- $(MAKE) -C $@ all
+ $(MAKE) -e -C $@ all
FORCE:
%-lndist: $(top_srcdir)/hurd-snap
- $(MAKE) -C $* lndist no_deps=t
+ $(MAKE) -e -C $* lndist no_deps=t
%-clean:
- $(MAKE) -C $* clean no_deps=t
+ $(MAKE) -e -C $* clean no_deps=t
%-relink:
- $(MAKE) -C $* relink no_deps=t
+ $(MAKE) -e -C $* relink no_deps=t
%-objs:
- $(MAKE) -C $* objs
+ $(MAKE) -e -C $* objs
%-install:
- $(MAKE) -C $* install
+ $(MAKE) -e -C $* install
%-install-headers:
- $(MAKE) -C $* install-headers
+ $(MAKE) -e -C $* install-headers
%-TAGS:
- $(MAKE) -C $* TAGS no_deps=t
+ $(MAKE) -e -C $* TAGS no_deps=t
$(srcdir)/hurd-snap:
mkdir $(srcdir)/hurd-snap
@@ -155,4 +155,4 @@ endif
# How to build them
$(addsuffix .d,$(subdirs)): %.d: $(top_srcdir)/%/Makefile
- $(MAKE) -C $* directory-depend no_deps=t
+ $(MAKE) -e -C $* directory-depend no_deps=t