Skip to content
Snippets Groups Projects
Unverified Commit b3ad031a authored by Simon Désaulniers's avatar Simon Désaulniers
Browse files

build-tools: distribute dhtnode.1 manpage

parent a0b9a198
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,7 @@ endif () ...@@ -131,6 +131,7 @@ endif ()
if (OPENDHT_TOOLS) if (OPENDHT_TOOLS)
add_subdirectory(tools) add_subdirectory(tools)
endif () endif ()
add_subdirectory(doc)
if (OPENDHT_PYTHON) if (OPENDHT_PYTHON)
add_subdirectory(python) add_subdirectory(python)
......
...@@ -10,9 +10,7 @@ if USE_CYTHON ...@@ -10,9 +10,7 @@ if USE_CYTHON
SUBDIRS += python SUBDIRS += python
endif endif
if HAVE_DOXYGEN
SUBDIRS += doc SUBDIRS += doc
endif
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
......
...@@ -88,7 +88,7 @@ AM_COND_IF([ENABLE_TOOLS], [ ...@@ -88,7 +88,7 @@ AM_COND_IF([ENABLE_TOOLS], [
]) ])
]) ])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])]) 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], [
......
dist_man1_MANS = dhtnode.1
if HAVE_DOXYGEN
doxyfile.stamp: doxyfile.stamp:
$(DOXYGEN) Doxyfile $(DOXYGEN) Doxyfile
echo stamp > doxyfile.stamp echo stamp > doxyfile.stamp
...@@ -7,3 +10,4 @@ CLEANFILES = doxyfile.stamp ...@@ -7,3 +10,4 @@ CLEANFILES = doxyfile.stamp
all-local: doxyfile.stamp all-local: doxyfile.stamp
clean-local: clean-local:
rm -rf $(top_srcdir)/doc/man $(top_srcdir)/doc/html rm -rf $(top_srcdir)/doc/man $(top_srcdir)/doc/html
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment