From 91b64adda28e0545b00f145000e9aff87134f068 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 17 Sep 1999 09:28:32 +0000 Subject: 1999-09-17 Thomas Bushnell, BSG * 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. --- ChangeLog | 7 +++++++ Makefile | 18 +++++++++--------- 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 + + * 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 * 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 -- cgit v1.2.3