Files
gentoo/dev-libs/libnatspec/files/libnatspec-0.3.0-doxygen.patch
David Seifert 2e9ff0c478 dev-libs/libnatspec: Port to EAPI 7
Closes: https://bugs.gentoo.org/723090
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
2021-03-27 12:35:13 +01:00

30 lines
804 B
Diff

--- 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 \*.*)