-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 738 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 738 Bytes
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
PROJECT=virtualenvwrapper.bitbucket
# Default target is to show help
help:
@echo "sdist - Source distribution"
@echo "html - HTML documentation"
@echo "upload - upload a new release to PyPI"
@echo "website - build web version of docs"
@echo "installwebsite - deploy web version of docs"
@echo "develop - install development version"
.PHONY: sdist
sdist: html
python setup.py sdist
# Documentation
.PHONY: html
html:
(cd docs && $(MAKE) html)
.PHONY: installwebsite
installwebsite: html
(cd docs/build/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/$(PROJECT)/)
.PHONY: upload
upload:
python setup.py sdist upload