X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=ec918a87f76b823421ad74519a22a15888adce0a;hb=336c9902e9d0dd924eb69f50c4db3870b7b34926;hp=20168df489e943d0ae5c365f167d90d852f5f1c6;hpb=73bc43ecf69a473464909ef1b4d2236c60fcb1bb;p=m_librarian.git diff --git a/Makefile b/Makefile index 20168df..ec918a8 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,24 @@ 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: @@ -14,3 +28,7 @@ test: .PHONY: tests tests: test + +.PHONY: clean +clean: + find . -name '*.py[co]' -type f -delete