File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ SPHINXBUILD = $(PYTHON) -m sphinx
88
99ALLSPHINXOPTS = -d build/doctrees $(SPHINXOPTS ) .
1010
11+ TAG ?= HEAD
12+
1113SSH_HOST =
1214SSH_USER =
1315SSH_TARGET_DIR =
@@ -99,18 +101,17 @@ linkcheck:
99101 " or in build/linkcheck/output.txt."
100102
101103pdf : latex
102- cd build/latex ; make all-pdf ; pdfnup ScipyLectures.pdf
104+ cd build/latex ; make all-pdf ; pdfnup -o ScipyLectures-nup.pdf -n 2 ScipyLectures.pdf
103105 cp build/latex/ScipyLectures.pdf ScipyLectures-simple.pdf
104106 cp build/latex/ScipyLectures-nup.pdf ScipyLectures.pdf
105107
106108zip : clean html pdf
107109 mkdir -p build/scipy_lecture_notes ;
108110 cp ScipyLectures.pdf ScipyLectures-simple.pdf build/html/_downloads/
109- cp -r build/html build/scipy_lecture_notes ;
110- cp -r data build/scipy_lecture_notes ;
111+ cp -r data build/html/
112+ cd build/html ; zip -r ../scipy-lecture-notes-html- $( TAG ) .zip .
111113 cp ScipyLectures.pdf build/ ;
112- zip -r build/scipy_lecture_notes.zip build/scipy_lecture_notes
113- git archive -o build/scipy_lecture_notes-source.zip --prefix scipy_lecture_notes-source/ HEAD
114+ git archive -o build/scipy-lecture-notes-source-$(TAG ) .zip --prefix scipy-lecture-notes-$(TAG ) / $(TAG )
114115
115116install : cleandoctrees html pdf
116117 rm -rf build/scipy-lectures.github.com
You can’t perform that action at this time.
0 commit comments