aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-09-26 18:06:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-09-26 19:01:25 +0300
commit878b73c89f377788862ffe3f20436f2d3ed80fa7 (patch)
tree7c1cb66261f9ee64832ddc35dce32d601fce74c8 /Makefile
parentadd Doxygen docs (diff)
downloadwinapi-utf8-878b73c89f377788862ffe3f20436f2d3ed80fa7.tar.gz
winapi-utf8-878b73c89f377788862ffe3f20436f2d3ed80fa7.zip
workflows: publish docs to GitHub Pages
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 163436d..ece80b3 100644
--- a/Makefile
+++ b/Makefile
@@ -88,9 +88,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'
endif
+endif
clang-tidy := run-clang-tidy
ifeq (1,$(shell test -e /usr/share/clang/run-clang-tidy.py && echo 1))