X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=6ebbec528ae069411f8c7571046da606ab8b25fb;hb=6dd5fc32d2fec60a1579cae61fd6b0cb2ff72033;hp=20168df489e943d0ae5c365f167d90d852f5f1c6;hpb=73bc43ecf69a473464909ef1b4d2236c60fcb1bb;p=m_librarian.git diff --git a/Makefile b/Makefile index 20168df..6ebbec5 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,21 @@ 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 html distr + +.PHONY: distr +distr: + ./mk-distr + +.PHONY: flake8 +flake8: + flake8 + +.PHONY: html +html: + $(MAKE) -C docs html + $(MAKE) -C docs-ru html .PHONY: test test: @@ -14,3 +25,7 @@ test: .PHONY: tests tests: test + +.PHONY: clean +clean: + find . -name '*.py[co]' -type f -delete