~ubuntu-branches/ubuntu/utopic/python-networkx/utopic

« back to all changes in this revision

Viewing changes to doc/Makefile

  • Committer: Package Import Robot
  • Author(s): Sandro Tosi
  • Date: 2012-08-11 12:41:30 UTC
  • mfrom: (1.4.1) (5.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120811124130-whr6uso7fncyg8bi
Tags: 1.7-1
* New upstream release
* debian/patches/changeset_*
  - removed, included upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
PAPEROPT_letter = -D latex_paper_size=letter
12
12
ALLSPHINXOPTS   = -d build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
13
13
 
14
 
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
 
14
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest epub
15
15
 
16
16
help:
17
17
        @echo "Please use \`make <target>' where <target> is one of"
18
18
        @echo "  html      to make standalone HTML files"
19
19
        @echo "  dirhtml   to make HTML files named index.html in directories"
20
20
        @echo "  pickle    to make pickle files"
 
21
        @echo "  epub       to make an epub"
21
22
        @echo "  json      to make JSON files"
22
23
        @echo "  htmlhelp  to make HTML files and a HTML help project"
23
24
        @echo "  qthelp    to make HTML files and a qthelp project"
28
29
 
29
30
 
30
31
clean:
31
 
        -rm -rf build/* source/reference/generated/* source/examples/* source/static/examples
32
 
 
 
32
        -rm -rf build/* source/reference/generated/* source/examples/* source/static/examples doc/source/*.pdf doc/source/*.zip 
 
33
        -rm -rf ../examples/*/*.png
33
34
 
34
35
generate: build/generate-stamp
35
36
build/generate-stamp: $(wildcard source/reference/*.rst)
89
90
        @echo "To view the help file:"
90
91
        @echo "# assistant -collectionFile build/qthelp/test.qhc"
91
92
 
 
93
epub:
 
94
        $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) build/epub
 
95
        @echo
 
96
        @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
 
97
 
 
98
 
92
99
latex: generate
93
100
        $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) build/latex
94
101
        @echo