mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Refactoring on the doxygen generation
This commit is contained in:
parent
a5bbb8345f
commit
63462668a9
2
CHANGES
2
CHANGES
@ -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
|
||||
|
15
configure.ac
15
configure.ac
@ -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
|
||||
|
||||
|
||||
|
27
doc/Makefile.am
Normal file
27
doc/Makefile.am
Normal file
@ -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
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user