Commit 60a762d0 authored by hugues.jerome's avatar hugues.jerome

* Add --enable-doc flag for configure, to be passed iff one

          wants to build documentation (off as a default)



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@1450 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent c9315a2c
SUBDIRS = support doc tools projects src resources projects-distrib examples
SUBDIRS = support tools projects src resources projects-distrib examples @DOC_DIR@
AUTOMAKE_OPTIONS = no-dependencies
ACLOCAL_AMFLAGS = -I support
CLEANFILES = config-stamp
......
......@@ -344,6 +344,23 @@ else
fi
AC_SUBST(CYGPATH_U)
##########################################
# Build documentation
##########################################
AC_CHECK_PROGS(TEXI2HTML, texi2html)
DOC_DIR=
AC_ARG_ENABLE(doc,
[ --enable-doc Build documentation [default=no]],
[if [[ "$enableval" = "yes" ]]; then
DOC_DIR=doc
fi],
[])
AC_SUBST(DOC_DIR)
##########################################
# Output generated files
##########################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment