X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=blobdiff_plain;f=Makefile;h=ec918a87f76b823421ad74519a22a15888adce0a;hp=9bf3b27f635223d239a7ca0e8d83f040d71f18eb;hb=HEAD;hpb=b8175386627ccc31fc1c3a3177382f196f0f0c19 diff --git a/Makefile b/Makefile index 9bf3b27..014dbc1 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,33 @@ all: @echo "Nothing to be done for 'all'" -.PHONY: htmldoc -htmldoc: - PYTHONPATH="`pwd`" $(MAKE) -C doc html - PYTHONPATH="`pwd`" $(MAKE) -C doc-ru html +.PHONY: release +release: docs distr + devscripts/release + +.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