From 1e5e1c0c0672de71ad0a9184da6e00929a195e48 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 12:05:09 +0100 Subject: cmake: prefix the docs target --- CMakeLists.txt | 5 ++++- Makefile | 2 +- 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 -- cgit v1.2.3