X Tutup
Skip to content

Commit 4428fb0

Browse files
committed
adds "docs" target to makefile
1 parent 86142a3 commit 4428fb0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
help:
33
@echo " env install all production dependencies"
44
@echo " dev install all dev and production dependencies (virtualenv is assumed)"
5+
@echo " docs build documentation"
56
@echo " clean remove unwanted stuff"
67
@echo " lint check style with flake8"
78
@echo " test run tests"
@@ -23,7 +24,10 @@ clean:
2324
rm -fr dist
2425
find . -name '*.pyc' -exec rm -f {} \;
2526
find . -name '*.pyo' -exec rm -f {} \;
26-
find . -name '*~' -exec rm -f {} \;
27+
find . -name '*~' ! -name '*.un~' -exec rm -f {} \;
28+
29+
docs:
30+
$(MAKE) -C doc html
2731

2832
lint:
2933
flake8 twitter > violations.flake8.txt

0 commit comments

Comments
 (0)
X Tutup