author | Nicola Baldo <nbaldo@cttc.es> |
Fri, 11 May 2012 16:42:40 +0200 | |
changeset 8749 | 4462ac63d4cf |
parent 7878 | doc/models/Makefile@715b1f392880 |
parent 8702 | doc/models/Makefile@d3e7f0d5e378 |
child 8961 | 3b39221dd8d4 |
permissions | -rw-r--r-- |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
1 |
EPSTOPDF = epstopdf |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
2 |
DIA = dia |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
3 |
CONVERT = convert |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
4 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
5 |
SOURCE = source |
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
6 |
FIGURES = $(SOURCE)/figures |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
7 |
|
7325
317a51a70b60
[bug 1196] support for eps figures
Nicola Baldo <nbaldo@cttc.es>
parents:
7306
diff
changeset
|
8 |
# specify figures from which .png and .pdf figures need to be |
317a51a70b60
[bug 1196] support for eps figures
Nicola Baldo <nbaldo@cttc.es>
parents:
7306
diff
changeset
|
9 |
# generated (all dia and eps figures) |
8260
c3bf1b481daf
buildings doc can now be built standalone and within models library doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8171
diff
changeset
|
10 |
IMAGES_EPS = |
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
11 |
|
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
12 |
# specify figures for build process (all eps figures) |
8260
c3bf1b481daf
buildings doc can now be built standalone and within models library doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8171
diff
changeset
|
13 |
GRAPHS_EPS = |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
14 |
|
7325
317a51a70b60
[bug 1196] support for eps figures
Nicola Baldo <nbaldo@cttc.es>
parents:
7306
diff
changeset
|
15 |
# rescale pdf figures as necessary |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
16 |
$(FIGURES)/testbed.pdf_width = 5in |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
17 |
|
8308
986d4e26ceb0
Merge with ns-3-lena-pem (changeset: 7976:e059b2c2f2e4): add trace-fading-loss-model and polish old GSoC propagation files not used
mmiozzo
parents:
8307
diff
changeset
|
18 |
IMAGES_PNG = ${IMAGES_EPS:.eps=.png} |
986d4e26ceb0
Merge with ns-3-lena-pem (changeset: 7976:e059b2c2f2e4): add trace-fading-loss-model and polish old GSoC propagation files not used
mmiozzo
parents:
8307
diff
changeset
|
19 |
IMAGES_PDF = ${IMAGES_EPS:.eps=.pdf} |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
20 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
21 |
IMAGES = $(IMAGES_EPS) $(IMAGES_PNG) $(IMAGES_PDF) |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
22 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
23 |
%.eps : %.dia; $(DIA) -t eps $< -e $@ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
24 |
%.png : %.dia; $(DIA) -t png $< -e $@ |
7325
317a51a70b60
[bug 1196] support for eps figures
Nicola Baldo <nbaldo@cttc.es>
parents:
7306
diff
changeset
|
25 |
%.png : %.eps; $(CONVERT) $< $@ |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
26 |
%.pdf : %.eps; $(EPSTOPDF) $< -o=$@; if test x$($@_width) != x; then TMPFILE=`mktemp`; ./rescale-pdf.sh $($@_width) $@ $${TMPFILE} && mv $${TMPFILE} $@; fi |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
27 |
|
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
28 |
GRAPHS_PNG = ${GRAPHS_EPS:.eps=.png} |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
29 |
GRAPHS_PDF = ${GRAPHS_EPS:.eps=.pdf} |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
30 |
|
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
31 |
GRAPHS = $(GRAPHS_EPS) $(GRAPHS_PNG) $(GRAPHS_PDF) |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
32 |
|
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
33 |
%.png : %.eps; $(CONVERT) $< $@ |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
34 |
%.pdf : %.eps; $(EPSTOPDF) $< -o=$@; if test x$($@_width) != x; then TMPFILE=`mktemp`; ./rescale-pdf.sh $($@_width) $@ $${TMPFILE} && mv $${TMPFILE} $@; fi |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
35 |
|
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
36 |
# You can set these variables from the command line. |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
37 |
SPHINXOPTS = |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
38 |
SPHINXBUILD = sphinx-build |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
39 |
PAPER = |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
40 |
BUILDDIR = build |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
41 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
42 |
# Internal variables. |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
43 |
PAPEROPT_a4 = -D latex_paper_size=a4 |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
44 |
PAPEROPT_letter = -D latex_paper_size=letter |
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
45 |
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCE) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
46 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
47 |
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
48 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
49 |
help: |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
50 |
@echo "Please use \`make <target>' where <target> is one of" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
51 |
@echo " html to make standalone HTML files" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
52 |
@echo " dirhtml to make HTML files named index.html in directories" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
53 |
@echo " singlehtml to make a single large HTML file" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
54 |
@echo " pickle to make pickle files" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
55 |
@echo " json to make JSON files" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
56 |
@echo " htmlhelp to make HTML files and a HTML help project" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
57 |
@echo " qthelp to make HTML files and a qthelp project" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
58 |
@echo " devhelp to make HTML files and a Devhelp project" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
59 |
@echo " epub to make an epub" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
60 |
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
61 |
@echo " latexpdf to make LaTeX files and run them through pdflatex" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
62 |
@echo " text to make text files" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
63 |
@echo " man to make manual pages" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
64 |
@echo " changes to make an overview of all changed/added/deprecated items" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
65 |
@echo " linkcheck to check all external links for integrity" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
66 |
@echo " doctest to run all doctests embedded in the documentation (if enabled)" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
67 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
68 |
clean: |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
69 |
-rm -rf $(BUILDDIR)/* |
8113
3fdf1f9caee9
clean only generated files
Manuel Requena <manuel.requena@cttc.es>
parents:
8101
diff
changeset
|
70 |
-rm -f $(IMAGES_PNG) |
3fdf1f9caee9
clean only generated files
Manuel Requena <manuel.requena@cttc.es>
parents:
8101
diff
changeset
|
71 |
-rm -f $(IMAGES_PDF) |
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
72 |
-rm -f $(GRAPHS_PNG) |
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
73 |
-rm -f $(GRAPHS_PDF) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
74 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
75 |
frag: pickle |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
76 |
@if test ! -d $(BUILDDIR)/frag; then mkdir $(BUILDDIR)/frag; fi |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
77 |
pushd $(BUILDDIR)/frag && ../../pickle-to-xml.py ../pickle/index.fpickle > navigation.xml && popd |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
78 |
cp -r $(BUILDDIR)/pickle/_images $(BUILDDIR)/frag |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
79 |
|
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
80 |
html: $(IMAGES) ${GRAPHS} |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
81 |
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
82 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
83 |
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
84 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
85 |
dirhtml: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
86 |
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
87 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
88 |
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
89 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
90 |
singlehtml: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
91 |
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
92 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
93 |
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
94 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
95 |
pickle: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
96 |
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
97 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
98 |
@echo "Build finished; now you can process the pickle files." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
99 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
100 |
json: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
101 |
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
102 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
103 |
@echo "Build finished; now you can process the JSON files." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
104 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
105 |
htmlhelp: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
106 |
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
107 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
108 |
@echo "Build finished; now you can run HTML Help Workshop with the" \ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
109 |
".hhp project file in $(BUILDDIR)/htmlhelp." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
110 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
111 |
qthelp: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
112 |
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
113 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
114 |
@echo "Build finished; now you can run "qcollectiongenerator" with the" \ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
115 |
".qhcp project file in $(BUILDDIR)/qthelp, like this:" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
116 |
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/ns-3.qhcp" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
117 |
@echo "To view the help file:" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
118 |
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/ns-3.qhc" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
119 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
120 |
devhelp: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
121 |
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
122 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
123 |
@echo "Build finished." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
124 |
@echo "To view the help file:" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
125 |
@echo "# mkdir -p $$HOME/.local/share/devhelp/ns-3" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
126 |
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/ns-3" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
127 |
@echo "# devhelp" |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
128 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
129 |
epub: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
130 |
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
131 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
132 |
@echo "Build finished. The epub file is in $(BUILDDIR)/epub." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
133 |
|
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
134 |
latex: $(IMAGES) ${GRAPHS} |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
135 |
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
136 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
137 |
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
138 |
@echo "Run \`make' in that directory to run these through (pdf)latex" \ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
139 |
"(use \`make latexpdf' here to do that automatically)." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
140 |
|
8118
3519d568f8e9
pdf and png files not needed anymore for eps figures
Manuel Requena <manuel.requena@cttc.es>
parents:
8113
diff
changeset
|
141 |
latexpdf: $(IMAGES) ${GRAPHS} |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
142 |
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
143 |
@echo "Running LaTeX files through pdflatex..." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
144 |
make -C $(BUILDDIR)/latex all-pdf |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
145 |
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
146 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
147 |
text: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
148 |
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
149 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
150 |
@echo "Build finished. The text files are in $(BUILDDIR)/text." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
151 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
152 |
man: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
153 |
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
154 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
155 |
@echo "Build finished. The manual pages are in $(BUILDDIR)/man." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
156 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
157 |
changes: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
158 |
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
159 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
160 |
@echo "The overview file is in $(BUILDDIR)/changes." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
161 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
162 |
linkcheck: $(IMAGEs) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
163 |
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
164 |
@echo |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
165 |
@echo "Link check complete; look for any errors in the above output " \ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
166 |
"or in $(BUILDDIR)/linkcheck/output.txt." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
167 |
|
8101
426064e45a62
added possibility to build a stand-alone LTE doc
Nicola Baldo <nbaldo@cttc.es>
parents:
8100
diff
changeset
|
168 |
doctest: $(IMAGES) |
7204
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
169 |
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
170 |
@echo "Testing of doctests in the sources finished, look at the " \ |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
171 |
"results in $(BUILDDIR)/doctest/output.txt." |
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
172 |
|
052d30ceb700
split manual; create model library
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
173 |