blob: f14c49182194bff1af91a0aef94f7a0130cd311b (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
Index: sympy-0.6.5/doc/Makefile
===================================================================
--- sympy-0.6.5.orig/doc/Makefile
+++ sympy-0.6.5/doc/Makefile
@@ -1,14 +1,10 @@
# Makefile for Sphinx documentation
#
PYTHON = python
-RST2HTML = rst2html
+RST2HTML = rst2html.py
# You can set these variables from the command line.
SPHINXOPTS =
-SPHINXVER = 0.5
-#SPHINXBUILDpy = sphinx/Sphinx-$(SPHINXVER)/sphinx-build.py
-SPHINXBUILDpy = sphinx-build
-SPHINXBUILD = PYTHONPATH=..:$(PYTHONPATH) $(SPHINXBUILDpy)
PAPER =
ALLSPHINXOPTS = -d _build/doctrees -D latex_paper_size=$(PAPER) \
@@ -32,13 +28,7 @@ clean:
-rm -rf _build
-rm -rf sphinx
-$(SPHINXBUILDpy):
- rm -rf sphinx
-# mkdir sphinx
-# cd sphinx; wget http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$(SPHINXVER).tar.gz;
-# cd sphinx; tar xzf Sphinx-$(SPHINXVER).tar.gz
-
-html: $(SPHINXBUILDpy) spt-printable
+html: spt-printable
mkdir -p src/.static
mkdir -p _build/html _build/doctrees
mkdir -p src/modules
@@ -53,7 +43,7 @@ spt-printable:
mkdir -p _build/html/
$(RST2HTML) src/sympy-patches-tutorial.txt > _build/html/spt-printable.html
-htmlapi: $(SPHINXBUILDpy)
+htmlapi:
mkdir -p api/.static
mkdir -p api/modules
mkdir -p _build/api _build/doctreesapi
@@ -78,7 +68,7 @@ htmlhelp:
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in _build/htmlhelp."
-latex: $(SPHINXBUILDpy)
+latex:
mkdir -p _build/latex _build/doctrees
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
@echo
|