Add deploy-docs phony make target

This commit is contained in:
K. Lange 2021-03-29 09:26:24 +09:00
parent c7d14d0528
commit 13fea2ce96

View File

@ -222,11 +222,14 @@ deb: kuroko libkuroko.so
rm -r $(DESTDIR)
.PHONY: docs
docs: kuroko
./kuroko tools/gendoc.krk
doxygen docs/Doxyfile
.PHONY: deploy-docs
deploy-docs: docs
cp -r docs/html/* ../kuroko-lang.github.io/docs/
.PHONY: cloc
cloc:
cloc --read-lang-def docs/cloc.txt --vcs git