File tree Expand file tree Collapse file tree 3 files changed +17
-196
lines changed
Expand file tree Collapse file tree 3 files changed +17
-196
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ virtualenvwrapper.egg-info
66trace.txt
77dist
88docs/build
9+ docs/website
910*.pyc
1011sphinx/web/templates/base.html
1112tests/catch_output
Original file line number Diff line number Diff line change 1+ # Get the version of the app. This is used in the doc build.
12export VERSION =$(shell python setup.py --version)
23
4+ # Default target is to build the source distribution.
35.PHONY : sdist
46sdist : html
57 python setup.py sdist
68
9+ # Documentation
710.PHONY : html
811html :
912 rm -rf virtualenvwrapper/docs
10- (cd docs && $( MAKE) html)
13+ (cd docs && $( MAKE) html SPHINXOPTS= " -c sphinx/pkg " )
1114 cp -r docs/build/html virtualenvwrapper/docs
1215
16+ # Website copy of documentation
1317.PHONY : website
14- website :
18+ website : docs/sphinx/web/templates/base.html
19+ rm -rf docs/website
20+ (cd docs && $( MAKE) html SPHINXOPTS=" -c sphinx/web" BUILDDIR=" website" )
1521
22+ installwebsite : website
23+ (cd docs/website/html && rsync --rsh=ssh --archive --delete --verbose . www.doughellmann.com:/var/www/doughellmann/DocumentRoot/docs/virtualenvwrapper2/)
24+
25+ # Copy the base template from my website build directory
26+ docs/sphinx/web/templates/base.html : ~/Devel/doughellmann/doughellmann/templates/base.html
27+ cp $< $@
28+
29+ # Testing
1630TEST_SCRIPTS =$(wildcard tests/test* .sh)
1731
1832.PHONY : test test-bash test-sh test-zsh test-loop
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments