Skip to content

Commit

Permalink
added --enable-developer-docs option to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 19, 2019
1 parent dc60db6 commit 26b530f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 13 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,19 @@ test "x$enable_docs" = xyes || enable_docs=no
AC_MSG_RESULT([$enable_docs])
AM_CONDITIONAL(BUILD_DOCS, [test "x$enable_docs" = xyes])

# Does the user want to developer documentation?
AC_MSG_CHECKING([whether PIO developer documentation should be build (only for PIO developers)])
AC_ARG_ENABLE([developer-docs],
[AS_HELP_STRING([--enable-developer-docs],
[enable building of PIO developer documentation with doxygen.])])
test "x$enable_developer_docs" = xyes || enable_developer_docs=no
AC_MSG_RESULT([$enable_developer_docs])

# Developer docs enables docs.
if test "x$enable_developer_docs" = xyes; then
enable_docs=yes
fi

# Is doxygen installed?
AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN" -a "x$enable_docs" = xyes; then
Expand Down
5 changes: 2 additions & 3 deletions doc/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -770,11 +770,10 @@ WARN_LOGFILE =

INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../doc/source \
@CMAKE_CURRENT_SOURCE_DIR@/../src/flib \
@CMAKE_BINARY_DIR@/src/flib \
@CMAKE_CURRENT_SOURCE_DIR@/../examples/c \
@CMAKE_CURRENT_SOURCE_DIR@/../examples/f03 \
@CMAKE_CURRENT_SOURCE_DIR@/../src/clib \
@CMAKE_BINARY_DIR@/src/flib \
@C_SRC_FILES@
@CMAKE_CURRENT_SOURCE_DIR@/../src/clib


# This tag can be used to specify the character encoding of the source files
Expand Down

0 comments on commit 26b530f

Please sign in to comment.