Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 831d11d

Browse files
committed
BF: remove sourceforge make targets/add pdf target
Remove sourceforge Makefile targets. Add target to build pdf, and pdf then html. Restrict link to pdf, to HTML.
1 parent 0135012 commit 831d11d

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Makefile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,8 @@ doctest:
8787
@echo "Testing of doctests in the sources finished, look at the " \
8888
"results in _build/doctest/output.txt."
8989

90-
sf:
91-
cd _build/html; \
92-
rsync -avz . jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/sampledoc -essh --cvs-exclude
93-
94-
95-
sfpdf:
96-
cd _build/latex; \
97-
scp sampledoc.pdf jdh2358,[email protected]:/home/groups/m/ma/matplotlib/htdocs/sampledoc/
98-
90+
pdf: latex
91+
cd _build/latex && make all-pdf
9992

93+
pdf-html: pdf html
94+
cp _build/latex/sampledoc.pdf _build/html

index.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ end up with this site -- it's the bootstrapping documentation tutorial
1515
that writes itself!
1616

1717
The source code for this tutorial lives in mpl git (see
18-
:ref:`fetching-the-data`) and you can grab a hardcopy of the
19-
`sampledoc PDF <sampledoc.pdf>`_
18+
:ref:`fetching-the-data`).
19+
20+
.. only:: html
21+
22+
You can also grab a hardcopy of the `sampledoc PDF <sampledoc.pdf>`_
2023

2124
.. toctree::
2225
:maxdepth: 2

0 commit comments

Comments
 (0)