aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:05:09 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:14:28 +0100
commit1e5e1c0c0672de71ad0a9184da6e00929a195e48 (patch)
tree341091de343cb4f4b4601e475a83d0f2c358c86d
parentworkflows/ci: add VS 2022 builds (diff)
downloadwinapi-utf8-1e5e1c0c0672de71ad0a9184da6e00929a195e48.tar.gz
winapi-utf8-1e5e1c0c0672de71ad0a9184da6e00929a195e48.zip
cmake: prefix the docs target
Diffstat (limited to '')
-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