]> git.phdru.name Git - m_librarian.git/blobdiff - Makefile
Run flake8 from root to test docs and scripts
[m_librarian.git] / Makefile
index 20168df489e943d0ae5c365f167d90d852f5f1c6..6ebbec528ae069411f8c7571046da606ab8b25fb 100644 (file)
--- 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