Commit 03092dab authored by hugues.jerome's avatar hugues.jerome
Browse files

* 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/po-hi-ada@1450 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent c9631b70
...@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = no-dependencies ...@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = no-dependencies
ACLOCAL_AMFLAGS = -I support ACLOCAL_AMFLAGS = -I support
CLEANFILES = config-stamp CLEANFILES = config-stamp
SUBDIRS = support tools doc src share SUBDIRS = support tools src share @DOC_DIR@
DIST_SUBDIRS = $(SUBDIRS) examples DIST_SUBDIRS = $(SUBDIRS) examples
# Force the installation before running the testsuite # Force the installation before running the testsuite
......
...@@ -163,6 +163,24 @@ else ...@@ -163,6 +163,24 @@ else
fi fi
AC_SUBST(CYGPATH_U) 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)
############################################################### ###############################################################
# Force the installation prefix to be equal to the Ocarina one # Force the installation prefix to be equal to the Ocarina one
############################################################### ###############################################################
......
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