]> git.phdru.name Git - m_librarian.git/blobdiff - Makefile
Version 0.0.6: search books by title, series, archive, file
[m_librarian.git] / Makefile
index 9bf3b27f635223d239a7ca0e8d83f040d71f18eb..39368faa57ad25bac791f2dd7d6d1b17173476bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,22 @@
 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: distr
+distr:
+       ./mk-distr
+
+.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 . -depth -type f -name '*.py[co]' -delete