Skip to content
Snippets Groups Projects
Commit 31185c24 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build/autoconf: always build doc Makefile

parent 2f6f8e2a
No related branches found
No related tags found
No related merge requests found
...@@ -16,9 +16,7 @@ if ENABLE_TESTS ...@@ -16,9 +16,7 @@ if ENABLE_TESTS
SUBDIRS += tests SUBDIRS += tests
endif endif
if HAVE_DOXYGEN
SUBDIRS += doc SUBDIRS += doc
endif
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
......
...@@ -210,10 +210,6 @@ AM_COND_IF(ENABLE_PROXY_CLIENT, [CPPFLAGS+=" -DOPENDHT_PROXY_CLIENT"], []) ...@@ -210,10 +210,6 @@ AM_COND_IF(ENABLE_PROXY_CLIENT, [CPPFLAGS+=" -DOPENDHT_PROXY_CLIENT"], [])
AM_COND_IF(ENABLE_PUSH_NOTIFICATIONS, [CPPFLAGS+=" -DOPENDHT_PUSH_NOTIFICATIONS"], []) AM_COND_IF(ENABLE_PUSH_NOTIFICATIONS, [CPPFLAGS+=" -DOPENDHT_PUSH_NOTIFICATIONS"], [])
AM_COND_IF(ENABLE_PROXY_SERVER_IDENTITY, [CPPFLAGS+=" -DOPENDHT_PROXY_SERVER_IDENTITY"], []) AM_COND_IF(ENABLE_PROXY_SERVER_IDENTITY, [CPPFLAGS+=" -DOPENDHT_PROXY_SERVER_IDENTITY"], [])
AM_COND_IF([HAVE_DOXYGEN], [
AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])
])
dnl Configure setup.py if we build the python module dnl Configure setup.py if we build the python module
AM_COND_IF([USE_CYTHON], [ AM_COND_IF([USE_CYTHON], [
AC_SUBST(CURRENT_SOURCE_DIR, ".") AC_SUBST(CURRENT_SOURCE_DIR, ".")
...@@ -227,5 +223,7 @@ AC_CONFIG_FILES([Makefile ...@@ -227,5 +223,7 @@ AC_CONFIG_FILES([Makefile
src/Makefile src/Makefile
tools/Makefile tools/Makefile
tests/Makefile tests/Makefile
doc/Makefile
doc/Doxyfile
opendht.pc]) opendht.pc])
AC_OUTPUT AC_OUTPUT
dist_man1_MANS = dhtnode.1 dist_man1_MANS = dhtnode.1
noinst_HEADERS = \
Doxyfile
if HAVE_DOXYGEN if HAVE_DOXYGEN
doxyfile.stamp: doxyfile.stamp: Doxyfile
$(DOXYGEN) Doxyfile $(DOXYGEN) Doxyfile
echo stamp > doxyfile.stamp echo stamp > doxyfile.stamp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment