diff options
author | Steve Bennett <steveb@workware.net.au> | 2015-04-06 15:15:34 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2015-04-29 13:10:28 +1000 |
commit | 0d58231de3b8dd1f28fd9b6aea0de54ce00eb489 (patch) | |
tree | 3348d7018aeae8bfda0fb86d36534ff64c51eec6 /auto.def | |
parent | af59339f008ae4eff13b0fea0eeff21a9d1e8b6c (diff) | |
download | jimtcl-0d58231de3b8dd1f28fd9b6aea0de54ce00eb489.zip jimtcl-0d58231de3b8dd1f28fd9b6aea0de54ce00eb489.tar.gz jimtcl-0d58231de3b8dd1f28fd9b6aea0de54ce00eb489.tar.bz2 |
add support for configure --docdir
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,8 @@ options { with-jim-shared shared => "build a shared library instead of a static library" jim-regexp=1 => "prefer POSIX regex if over the the built-in (Tcl-compatible) regex" docs=1 => "don't build or install the documentation" - random-hash => "randomise hash tables. more secure but hash table results are not predicable" + docdir:path => "path to install docs (if built)" + random-hash => "randomise hash tables. more secure but hash table results are not predicable" with-jim-ext: {with-ext:"ext1 ext2 ..."} => { Specify additional jim extensions to include. These are enabled by default: @@ -204,6 +205,11 @@ define LIBSOEXT [format [get-define SH_SOEXTVER] [format %.2f [expr {[get-define define JIM_INSTALL [opt-bool install-jim] define JIM_DOCS [opt-bool docs] define JIM_RANDOMISE_HASH [opt-bool random-hash] +if {[opt-val docdir] ne ""} { + define docdir [opt-val docdir] +} else { + define docdir {${prefix}/docs/jim} +} # Attributes of the extensions # tcl=Pure Tcl extension |