X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=ec918a87f76b823421ad74519a22a15888adce0a;hb=34533870a73a6a363e4662df787a637b138c533c;hp=5ef35dc7a11f404a12e5780fe722cc30745229c4;hpb=4373ad1f21b6a48a55b5ae3b7e48fdde0a521356;p=m_librarian.git diff --git a/Makefile b/Makefile index 5ef35dc..ec918a8 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,32 @@ all: @echo "Nothing to be done for 'all'" -.PHONY: htmldoc -htmldoc: - $(MAKE) -C doc html - $(MAKE) -C doc-ru html +.PHONY: release +release: tests flake8 docs distr + +.PHONY: distr +distr: + ./mk-distr + +.PHONY: flake8 +flake8: + flake8 + +.PHONY: docs +docs: html + +.PHONY: html +html: + $(MAKE) -C docs html + $(MAKE) -C docs-ru html .PHONY: test test: $(MAKE) -C tests + +.PHONY: tests +tests: test + +.PHONY: clean +clean: + find . -name '*.py[co]' -type f -delete