Browse Source

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

Nathalie Furmento 8 years ago
parent
commit
690e072874
1 changed files with 4 additions and 0 deletions
  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)