core: disable compilation of documentation by default (cmake and autotools)

v2.8-utf8proc
Sebastien Helleu 2013-06-29 09:51:15 +02:00
parent f1fdbe72dc
commit f19c2cfd80
9 changed files with 24 additions and 18 deletions

View File

@ -87,7 +87,7 @@ OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
OPTION(ENABLE_DOC "Enable Documentation" OFF)
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")

View File

@ -150,7 +150,7 @@ AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])

1
debian/rules vendored
View File

@ -14,6 +14,7 @@ $(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
cmake .. \
-DENABLE_DOC=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \

View File

@ -174,9 +174,10 @@ List of commonly used options:
| ENABLE_DEMO | `ON`, `OFF` | OFF |
Compile Demo plugin.
| ENABLE_DOC | `ON`, `OFF` | ON |
Compile documentation (it takes a long time, you can turn off to speed up
the compilation).
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compile documentation (it takes a long time, recommended only if you build
a binary package embedding documentation or if you can't browse documentation
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.

View File

@ -170,9 +170,10 @@ List of commonly used options:
| ENABLE_DEMO | `ON`, `OFF` | OFF |
Compile Demo plugin.
| ENABLE_DOC | `ON`, `OFF` | ON |
Compile documentation (it takes a long time, you can turn off to speed up
the compilation).
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compile documentation (it takes a long time, recommended only if you build
a binary package embedding documentation or if you can't browse documentation
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.

View File

@ -172,9 +172,10 @@ Liste des options couramment utilisées :
| ENABLE_DEMO | `ON`, `OFF` | OFF |
Compiler l'extension Demo.
| ENABLE_DOC | `ON`, `OFF` | ON |
Compiler la documentation (cela prend beaucoup de temps, vous pouvez
désactiver pour accélérer la compilation).
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compiler la documentation (cela prend beaucoup de temps, recommandé
seulement si vous construisez un paquet binaire intégrant la documentation ou
si vous ne pouvez pas consulter la documentation en ligne).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compiler <<aspell_plugin,l'extension Aspell>> avec Enchant.

View File

@ -181,9 +181,10 @@ List of commonly used options:
| ENABLE_DEMO | `ON`, `OFF` | OFF |
Compile Demo plugin.
| ENABLE_DOC | `ON`, `OFF` | ON |
Compile documentation (it takes a long time, you can turn off to speed up
the compilation).
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compile documentation (it takes a long time, recommended only if you build
a binary package embedding documentation or if you can't browse documentation
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.

View File

@ -166,9 +166,10 @@ List of commonly used options:
| ENABLE_DEMO | `ON`, `OFF` | OFF |
Compile Demo plugin.
| ENABLE_DOC | `ON`, `OFF` | ON |
Compile documentation (it takes a long time, you can turn off to speed up
the compilation).
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compile documentation (it takes a long time, recommended only if you build
a binary package embedding documentation or if you can't browse documentation
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.

View File

@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
%setup
%build
./configure --prefix=/usr --mandir=/usr/share/man --with-debug=0
./configure --prefix=/usr --mandir=/usr/share/man --enable-doc --with-debug=0
make
%install