From: prascle Date: Mon, 13 Mar 2006 19:09:01 +0000 (+0000) Subject: PR: conditional definition X-Git-Tag: T2_3_2_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37bbe1b9487e6ce1526a34b25c7d8ff6b5f7c0cb;p=modules%2Fkernel.git PR: conditional definition --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 30c621e67..4a75f2797 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -9,12 +9,16 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am SUBDIRS = salome -doc_DATA = \ +doc_DATA = + +if RST2HTML_IS_OK + doc_DATA += \ index.html \ UnitTests.html \ SALOME_Application.html \ INSTALL.html \ kernel_resources.html +endif EXTRA_DIST=$(doc_DATA) diff --git a/salome_adm/unix/config_files/check_htmlgen.m4 b/salome_adm/unix/config_files/check_htmlgen.m4 index d8bcb0cdc..6f46e9fba 100644 --- a/salome_adm/unix/config_files/check_htmlgen.m4 +++ b/salome_adm/unix/config_files/check_htmlgen.m4 @@ -54,5 +54,7 @@ if test "x$RST2HTML" = "x"; then fi AC_SUBST(RST2HTML) +AM_CONDITIONAL(RST2HTML_IS_OK, [test x"$rst2html_ok" = xyes]) + ])dnl dnl