]> git.phdru.name Git - m_librarian.git/blobdiff - Makefile
Version 0.1.0: Web-interface
[m_librarian.git] / Makefile
index 20168df489e943d0ae5c365f167d90d852f5f1c6..ec918a87f76b823421ad74519a22a15888adce0a 100644 (file)
--- 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