aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-10 12:51:15 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-10 13:14:29 +0500
commit232cb5b1c678ae52133904779b288a436ef36522 (patch)
treebe0c369b123bdb2aeb8e724ebae322027b67ba68 /Makefile
parentadd Doxygen docs (diff)
downloadwinapi-common-232cb5b1c678ae52133904779b288a436ef36522.tar.gz
winapi-common-232cb5b1c678ae52133904779b288a436ef36522.zip
workflows/ci: publish docs to GitHub Pages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 64c45fd..18b6f52 100644
--- a/Makefile
+++ b/Makefile
@@ -85,9 +85,11 @@ xdg-open := $(shell command -v xdg-open 2> /dev/null)
.PHONY: docs
docs:
cmake --build '$(call escape,$(cmake_dir))' --target docs
+ifndef CI
ifdef xdg-open
xdg-open '$(call escape,$(cmake_dir))/html/index.html' &> /dev/null
endif
+endif
clang-tidy := run-clang-tidy
ifeq (1,$(shell test -e /usr/share/clang/run-clang-tidy.py && echo 1))