aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--Makefile2
2 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d3b3b9..7ac0562 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,5 +32,8 @@ if(DOXYGEN_FOUND)
set(DOXYGEN_SORT_MEMBER_DOCS NO)
set(DOXYGEN_SOURCE_BROWSER YES)
set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md)
- doxygen_add_docs(docs README.md ${winapi_utf8_include} ${winapi_utf8_src})
+ doxygen_add_docs(winapi_utf8_docs
+ README.md
+ ${winapi_utf8_include}
+ ${winapi_utf8_src})
endif()
diff --git a/Makefile b/Makefile
index 7d2d4a1..df98781 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ xdg-open := $(shell command -v xdg-open 2> /dev/null)
.PHONY: docs
docs:
- cmake --build '$(call escape,$(cmake_dir))' --target docs
+ cmake --build '$(call escape,$(cmake_dir))' --target winapi_utf8_docs
ifndef CI
ifdef xdg-open
xdg-open '$(call escape,$(cmake_dir))/html/index.html' &> /dev/null