From 553d68b80f3c725cf0eed28260c25e0daaec11f1 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 30 Jul 2018 09:46:00 -0400 Subject: [PATCH] Makefile add doxygen helper --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b541949ef..24216cc349 100644 --- a/Makefile +++ b/Makefile @@ -250,7 +250,7 @@ coverity_scan: posix_sitl_default # Documentation # -------------------------------------------------------------------- -.PHONY: parameters_metadata airframe_metadata module_documentation px4_metadata +.PHONY: parameters_metadata airframe_metadata module_documentation px4_metadata doxygen parameters_metadata: @python $(SRC_DIR)/src/lib/parameters/px_process_params.py -s `find $(SRC_DIR)/src -maxdepth 4 -type d` --inject-xml $(SRC_DIR)/src/lib/parameters/parameters_injected.xml --markdown @@ -265,6 +265,11 @@ module_documentation: px4_metadata: parameters_metadata airframe_metadata module_documentation +doxygen: + @mkdir -p $(SRC_DIR)/build/doxygen + @cd $(SRC_DIR)/build/doxygen && cmake $(SRC_DIR) $(CMAKE_ARGS) -G"$(PX4_CMAKE_GENERATOR)" -DCONFIG=posix_sitl_default -DBUILD_DOXYGEN=ON + @$(PX4_MAKE) -C $(SRC_DIR)/build/doxygen + # Astyle # -------------------------------------------------------------------- .PHONY: check_format format