[PATCH] configure: Add option to disable building documentation.
Kristian Hoegsberg
hoegsberg at gmail.com
Tue Mar 20 13:34:58 PDT 2012
On Sat, Mar 17, 2012 at 07:09:39PM +0200, ustun.ergenoglu at gmail.com wrote:
> From: Üstün Ergenoğlu <ego at ustun.fi>
Yeah, not a bad idea.
thanks,
Kristian
> Signed-off-by: Üstün Ergenoğlu <ego at ustun.fi>
> ---
> configure.ac | 10 +++++++++-
> 1 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index f5bf788..094da67 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -33,6 +33,12 @@ AC_ARG_ENABLE([scanner],
> [],
> [enable_scanner=yes])
>
> +AC_ARG_ENABLE([documentation],
> + [AC_HELP_STRING([--disable-documentation],
> + [Disable building the documentation])],
> + [],
> + [enable_documentation=yes])
> +
> AM_CONDITIONAL(ENABLE_SCANNER, test "x$enable_scanner" = xyes)
>
> EXPAT_LIB=""
> @@ -51,7 +57,9 @@ fi
> AC_PATH_PROG(XSLTPROC, xsltproc)
> AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
>
> -AC_PATH_PROG(PUBLICAN, publican)
> +if test "x$enable_documentation" = "xyes"; then
> + AC_PATH_PROG(PUBLICAN, publican)
> +fi
> AM_CONDITIONAL([HAVE_PUBLICAN], [test "x$PUBLICAN" != "x"])
>
> AC_CONFIG_FILES([Makefile
> --
> 1.7.5.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list