Просмотр исходного кода

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

Nathalie Furmento лет назад: 8
Родитель
Сommit
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)