diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-08 23:47:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-08 23:47:21 +0000 |
commit | 09d389ebd4006fc12155be20228b2db958997136 (patch) | |
tree | 0ccd0f4f6e3a890a3fb5f6405a6e3dedd97f4123 /Makefile | |
parent | e9c84e4c9192171aad637d5edfea33f3b3f496f1 (diff) | |
download | mandoc-09d389ebd4006fc12155be20228b2db958997136.tar.gz mandoc-09d389ebd4006fc12155be20228b2db958997136.tar.zst mandoc-09d389ebd4006fc12155be20228b2db958997136.zip |
Do not hardcode stuff in ./configure that is actually user-configurable
in the Makefile; instead, pass it down via the environment just
like CFLAGS.
Nice suggestion from kristaps@ hoping to make MacOS X happier.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.433 2014/08/08 20:34:06 schwarze Exp $ +# $Id: Makefile,v 1.434 2014/08/08 23:47:21 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> # Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -488,7 +488,8 @@ mdocml.tar.gz: $(DISTFILES) config.h: configure config.h.pre config.h.post $(TESTSRCS) rm -f config.log - CC="$(CC)" CFLAGS="$(CFLAGS)" VERSION="$(VERSION)" ./configure + CC="$(CC)" CFLAGS="$(CFLAGS)" DBLIB="$(DBLIB)" \ + VERSION="$(VERSION)" ./configure .PHONY: base-install cgi-install db-install install www-install .PHONY: clean depend |