-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
39 lines (31 loc) · 904 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
# 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)
installwebsite: html
(cd docs/_build/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/sphinxcontrib-sqltable/)
# Register the new version on pypi
.PHONY: register
register:
python setup.py register
# Testing
.PHONY: test
test:
tox
develop:
python setup.py develop