Salome HOME
PR: conditional definition
authorprascle <prascle>
Mon, 13 Mar 2006 19:09:01 +0000 (19:09 +0000)
committerprascle <prascle>
Mon, 13 Mar 2006 19:09:01 +0000 (19:09 +0000)
doc/Makefile.am
salome_adm/unix/config_files/check_htmlgen.m4

index 30c621e67ccb697d7770ab1d36893091f9a312b5..4a75f2797b1d5eca4945f04a23e88e4f1389cc16 100644 (file)
@@ -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)
 
index d8bcb0cdcc512c1f1fe58c256467c4230a852083..6f46e9fbacc29cf06cc01d732a99943ccb8ca32b 100644 (file)
@@ -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