浏览代码

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

Nathalie Furmento 8 年之前
父节点
当前提交
690e072874
共有 1 个文件被更改,包括 4 次插入0 次删除
  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)