Debian Codegraph @

Makefile

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