HaikuBook: Add Makefile that supports the default and the develop configurations

I use the develop configuration to generate a warnings file, which is useful to
find undocumented members. The default configuration hides the undocumented
members and does not warn about them.

Change-Id: I09248c95bd51ea21118ff4f7ce57427d033981d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3304
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Niels Sascha Reedijk
2020-10-11 15:46:06 +00:00
committed by waddlesplash
parent 5646b99778
commit ae78fb3062
+12
View File
@@ -0,0 +1,12 @@
define DEVELOP_CONFIG
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
ENABLED_SECTIONS = INTERNAL
WARN_LOGFILE = "../../generated/doxygen/warnings.txt"
GENERATE_XML = YES
endef
export DEVELOP_CONFIG
default:
doxygen
develop:
(cat Doxyfile; echo "$$DEVELOP_CONFIG") | doxygen -