Explorar o código

configure.ac: do not generate documentation if it is already available in the source directory

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
690e072874
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      configure.ac

+ 4 - 0
configure.ac

@@ -2777,6 +2777,10 @@ if test "$enable_build_doc" = "yes" ; then
    if test "$epstopdfcommand" = "" ; then
 	enable_build_doc="no"
    fi
+   if test -f "$srcdir/doc/doxygen/starpu.pdf"
+   then
+	enable_build_doc="no"
+   fi
 fi
 AC_MSG_CHECKING(whether documentation should be compiled)
 AC_MSG_RESULT($enable_build_doc)