Skip to content
Permalink
Browse files

build/autoconf: always build doc Makefile

  • Loading branch information
aberaud committed Dec 2, 2019
1 parent 2f6f8e2 commit 31185c24f0039e36a0993b624fc94bc61d3cd04c
Showing with 6 additions and 7 deletions.
  1. +0 −2 Makefile.am
  2. +2 −4 configure.ac
  3. +4 −1 doc/Makefile.am
@@ -16,9 +16,7 @@ if ENABLE_TESTS
SUBDIRS += tests
endif

if HAVE_DOXYGEN
SUBDIRS += doc
endif

ACLOCAL_AMFLAGS = -I m4

@@ -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_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
AM_COND_IF([USE_CYTHON], [
AC_SUBST(CURRENT_SOURCE_DIR, ".")
@@ -227,5 +223,7 @@ AC_CONFIG_FILES([Makefile
src/Makefile
tools/Makefile
tests/Makefile
doc/Makefile
doc/Doxyfile
opendht.pc])
AC_OUTPUT
@@ -1,7 +1,10 @@
dist_man1_MANS = dhtnode.1

noinst_HEADERS = \
Doxyfile

if HAVE_DOXYGEN
doxyfile.stamp:
doxyfile.stamp: Doxyfile
$(DOXYGEN) Doxyfile
echo stamp > doxyfile.stamp

0 comments on commit 31185c2

Please sign in to comment.
You can’t perform that action at this time.