From ae78fb306254df55e5e75297a7914edca7b3a26f Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Thu, 8 Oct 2020 10:25:08 +0100 Subject: [PATCH] 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 --- docs/user/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/user/Makefile diff --git a/docs/user/Makefile b/docs/user/Makefile new file mode 100644 index 0000000000..fead8c200e --- /dev/null +++ b/docs/user/Makefile @@ -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 - \ No newline at end of file