X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=ec918a87f76b823421ad74519a22a15888adce0a;hb=7ec8811ea1e63e85f95a766095cb2479a52dc756;hp=9bf3b27f635223d239a7ca0e8d83f040d71f18eb;hpb=b8175386627ccc31fc1c3a3177382f196f0f0c19;p=m_librarian.git diff --git a/Makefile b/Makefile index 9bf3b27..ec918a8 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,32 @@ 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: 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