Skip to content

Commit

Permalink
Refactoring on the doxygen generation
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhora authored and Felipe Zimmerle committed May 16, 2017
1 parent a5bbb83 commit 6346266
Show file tree
Hide file tree
Showing 7 changed files with 1,359 additions and 849 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
DD MMM YYYY - 2.9.2 - To be released
------------------------------------

* Fix --enable-docs adding missing Makefile, modifying autoconf and filenames
[Issue #1322 - @victorhora]
* Change from using rand() to thread-safe ap_random_pick.
[Issue #1289 - Robert Bost]
* Cosmetics: added comments on odd looking code to prevent future
Expand Down
15 changes: 14 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,20 @@ AC_ARG_ENABLE(docs,
])
AM_CONDITIONAL([BUILD_DOCS], [test "$build_docs" -eq 1])
if test "$build_docs" -eq 1; then
TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS docs"
TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS doc"
AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN"; then
AC_MSG_WARN([Doxygen not found - continue without Doxygen support])
fi
if test "$build_apache2_module" -eq 1; then
AC_CONFIG_FILES([doc/doxygen-apache])
fi
if test "$build_standalone_module" -eq 1; then
AC_CONFIG_FILES([doc/doxygen-nginx])
AC_CONFIG_FILES([doc/doxygen-iis])
AC_CONFIG_FILES([doc/doxygen-standalone])
fi
AC_CONFIG_FILES([doc/Makefile])
fi


Expand Down
27 changes: 27 additions & 0 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apache:
$(DOXYGEN) doxygen-apache
touch apache.stamp

iis:
$(DOXYGEN) doxygen-iis
touch iis.stamp

nginx:
$(DOXYGEN) doxygen-nginx
touch nginx.stamp

standalone:
$(DOXYGEN) doxygen-standalone
touch standalone.stamp


if BUILD_APACHE2_MODULE
all-local: apache
endif

if BUILD_STANDALONE_MODULE
all-local: iis nginx standalone
endif

clean-local:
rm -rf apache iis nginx standalone
Loading

0 comments on commit 6346266

Please sign in to comment.