]> git.phdru.name Git - m_librarian.git/blobdiff - Makefile
Fix(DB): Fix bug with adding same genre to book
[m_librarian.git] / Makefile
index 20168df489e943d0ae5c365f167d90d852f5f1c6..014dbc1568e5345ff2b8f57d74c8d429ea5da8a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,25 @@
 all:
        @echo "Nothing to be done for 'all'"
 
-.PHONY: htmldoc
-htmldoc:
-       $(MAKE) -C doc html
-       $(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:
@@ -14,3 +29,7 @@ test:
 
 .PHONY: tests
 tests: test
+
+.PHONY: clean
+clean:
+       find . -name '*.py[co]' -type f -delete