Skip to content

Commit c21f77c

Browse files
committed
Make the build system a bit more robust
1 parent 9a695b6 commit c21f77c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ html:
5353
@echo
5454
@echo "Build finished. The HTML pages are in build/html."
5555

56+
cleandoctrees:
57+
rm -rf build/doctrees
58+
5659
pickle:
5760
mkdir -p build/pickle build/doctrees
5861
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) build/pickle
@@ -106,7 +109,7 @@ zip: html pdf
106109
cp ScipyLectures.pdf build/scipy_lecture_notes;
107110
zip -r build/scipy_lecture_notes.zip build/scipy_lecture_notes
108111

109-
install: pdf html
112+
install: cleandoctrees pdf html
110113
rm -rf build/scipy-lectures.github.com
111114
cd build/ && \
112115
git clone [email protected]:scipy-lectures/scipy-lectures.github.com.git && \

index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ Scipy Lecture Notes
6767

6868
.. sidebar::  Download
6969

70-
* |pdf| `PDF, 2 pages per side <./_downloads/PythonScientific.pdf>`_
70+
* |pdf| `PDF, 2 pages per side <./_downloads/ScipyLectures.pdf>`_
7171

72-
* |pdf| `PDF, 1 page per side <./_downloads/PythonScientific-simple.pdf>`_
72+
* |pdf| `PDF, 1 page per side <./_downloads/ScipyLectures-simple.pdf>`_
7373

7474
* |archive| `HTML and example files <https://github.com/scipy-lectures/scipy-lectures.github.com/zipball/master>`_
7575

0 commit comments

Comments
 (0)