summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-20 10:26:37 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-20 10:26:37 -0400
commit4c5e40148d75ed04b1c0b6cbe099d9c1327cff48 (patch)
treee32332d5e01f46ebe85e953671772f9efbc60bad /Makefile
parent5706d2991ba3e75dec64f387916f84d00f66473b (diff)
downloadpython-coveragepy-4c5e40148d75ed04b1c0b6cbe099d9c1327cff48.tar.gz
Fix up some documentation links
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1c31cd4..9c59168 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,9 @@ uninstall:
SPHINXBUILD = sphinx-build
SPHINXOPTS = -a -E doc
-WEBHOME = ~/web/stellated/pages/code/coverage
+WEBHOME = ~/web/stellated/
+WEBSAMPLE = $(WEBHOME)/files/sample_coverage_html
+WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
docreqs:
pip install -r doc/requirements.pip
@@ -97,10 +99,11 @@ docspell:
$(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
publish:
- rm -f $(WEBHOME)/sample_html/*.*
- cp doc/sample_html/*.* $(WEBHOME)/sample_html
+ rm -f $(WEBSAMPLE)/*.*
+ mkdir -p $(WEBSAMPLE)
+ cp doc/sample_html/*.* $(WEBSAMPLE)
publishbeta:
- rm -f $(WEBHOME)/sample_html_beta/*.*
- mkdir -p $(WEBHOME)/sample_html_beta
- cp doc/sample_html_beta/*.* $(WEBHOME)/sample_html_beta
+ rm -f $(WEBSAMPLEBETA)/*.*
+ mkdir -p $(WEBSAMPLEBETA)
+ cp doc/sample_html_beta/*.* $(WEBSAMPLEBETA)