diff options
author | wl <wl> | 2011-03-30 18:08:15 +0000 |
---|---|---|
committer | wl <wl> | 2011-03-30 18:08:15 +0000 |
commit | 9cfbda11df33635c0728eb33e04044e2e91fc681 (patch) | |
tree | cd9ac47cee024cbb4e4b4b402ebe51d8cfe3d9d4 /Makefile.in | |
parent | 5ccb6344ae2525f7697a7cac8af93950dbbf7b21 (diff) | |
download | groff-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.in | 2 |
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); \ |