summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorwl <wl>2011-03-30 18:08:15 +0000
committerwl <wl>2011-03-30 18:08:15 +0000
commit9cfbda11df33635c0728eb33e04044e2e91fc681 (patch)
treecd9ac47cee024cbb4e4b4b402ebe51d8cfe3d9d4 /Makefile.in
parent5ccb6344ae2525f7697a7cac8af93950dbbf7b21 (diff)
downloadgroff-9cfbda11df33635c0728eb33e04044e2e91fc681.tar.gz
Fix build with non-GNU make.
* Makefile.in ($TARGETS): We must not pass `$MDEFINES' recursively down to the sub-makes started in src/libs/gnulib, because that directory has its own values for `$top_srcdir' etc., and overriding those from the command line will cause the build to fail. Currently, `$MAKEOVERRIDES' will prevent the recursive passing of those overrides with GNU make, but not with other make(1) implementations. It looks like all targets that require `$MDEFINES' set them explicitly anyway, so we shouldn't need to set `$MDEFINES' on the top level.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c610d213..c6b89419 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -689,7 +689,7 @@ subdir=src/roff/troff
$(TARGETS):
- @$(ENVSETUP); $(MAKE) $(MAKE_K_FLAG) $(MDEFINES) do=$@ $(dodirs)
+ @$(ENVSETUP); $(MAKE) $(MAKE_K_FLAG) do=$@ $(dodirs)
dot: FORCE
@$(ENVSETUP); \