Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Respect ./configure --htmldir, keeping our default



Updated patch, without relying on GNU Make syntax.
Apparently override doesn't do what I think it does, so it shouldn't've been
there in the first place.

---
 Config/defs.mk.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Config/defs.mk.in b/Config/defs.mk.in
index 5195bf8..08f0ac4 100644
--- a/Config/defs.mk.in
+++ b/Config/defs.mk.in
@@ -50,7 +50,10 @@ fndir           = @fndir@
 sitefndir       = @sitefndir@
 scriptdir       = @scriptdir@
 sitescriptdir   = @sitescriptdir@
-htmldir         = $(datadir)/$(tzsh)/htmldoc
+htmldir         := @htmldir@
+ifeq "$(htmldir)" ""
+htmldir = $(datadir)/$(tzsh)/htmldoc
+endif
 
 # compilation
 CC              = @CC@
-- 
1.6.3.1



Messages sorted by: Reverse Date, Date, Thread, Author