forked from sphinx-contrib/spelling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (34 loc) · 965 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Default target is to show help
help:
@echo "sdist - Source distribution"
@echo "html - HTML documentation"
@echo "spelling - Check spelling of documentation"
@echo "upload - upload a new release to PyPI"
@echo "installwebsite - deploy web version of docs"
@echo "develop - install development version"
@echo "test - run the test suite"
.PHONY: sdist
sdist: html
python setup.py sdist
.PHONY: upload
upload: html
python setup.py sdist upload
# Documentation
.PHONY: html
html:
(cd docs && $(MAKE) html)
.PHONY: spelling
spelling:
(cd docs && $(MAKE) spelling)
installwebsite: html
(cd docs/build/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/sphinxcontrib.spelling/)
# Register the new version on pypi
.PHONY: register
register:
python setup.py register
# Testing
.PHONY: test
test:
tox
develop:
python setup.py develop