diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-09-26 16:27:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-09-26 17:59:32 +0300 |
commit | 00393a40e5fdddd99c39106a0082d5f4b9b0315c (patch) | |
tree | 8a5580f7a26a548c5f53a63cb1469490b67da341 /Makefile | |
parent | workflows/ci: use default clang-format (diff) | |
download | winapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.tar.gz winapi-utf8-00393a40e5fdddd99c39106a0082d5f4b9b0315c.zip |
add Doxygen docs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -83,6 +83,15 @@ install: build test: cd -- '$(call escape,$(cmake_dir))' && ctest -C '$(call escape,$(CONFIGURATION))' --verbose +xdg-open := $(shell command -v xdg-open 2> /dev/null) + +.PHONY: docs +docs: + cmake --build '$(call escape,$(cmake_dir))' --target docs +ifdef xdg-open + xdg-open '$(call escape,$(cmake_dir))/html/index.html' +endif + clang-tidy := run-clang-tidy ifeq (1,$(shell test -e /usr/share/clang/run-clang-tidy.py && echo 1)) clang-tidy := /usr/share/clang/run-clang-tidy.py |