summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c5f6ced..83e5dc8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@ INSTALLFLAGS=
PYTHONS=python2.6 python2.7 python3.1 python3.2 python3.3 python3.4
.PHONY: inplace all rebuild test_inplace test fulltests clean distclean
-.PHONY: sdist install
+.PHONY: sdist install black
-all: inplace README.html README.md
+all: inplace black README.html README.md
README.md: README.txt CHANGES.txt
pandoc --from=rst --to=gfm README.txt > $@
@@ -28,6 +28,9 @@ test_inplace: inplace
test: test_inplace
+black:
+ black $(CURDIR) || true
+
fulltest:
$(MAKE) clean
@set -e; \