You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libnatspec/files/libnatspec-0.3.0-doxygen.patch

30 lines
804 B

--- a/configure.ac
+++ b/configure.ac
@@ -54,13 +54,10 @@
# check Doxygen
DOXYGEN=""
-AC_ARG_WITH(doxygen, [ --with-doxygen Generate doxygen documentation ],
-[AC_CHECK_PROG(DOX, doxygen, yes)
-if test "x$DOX" != x ; then
- DOXYGEN="doxygen"
-else
- AC_MSG_ERROR([*** Doxygen not found])
-fi
+AC_ARG_WITH(doxygen, [ --with-doxygen Generate doxygen documentation ])
+AS_IF([test "x$with_doxygen" = "xyes"], [
+ AC_CHECK_PROG(DOX, doxygen, yes)
+ DOXYGEN="doxygen"
])
AC_SUBST(DOXYGEN)
AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != x)
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -19,5 +19,4 @@
# install
-docdir = $(datadir)/doc/@PACKAGE@-@VERSION@/html
-doc_DATA = $(shell find $(top_srcdir)/docs/html -name \*.*)
+html_DATA = $(shell find $(top_srcdir)/docs/html -name \*.*)