Skip to content

Commit 70fa42a

Browse files
author
florian
committed
Add a howto for building documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15017 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 9a78d1b commit 70fa42a

File tree

2 files changed

+45
-4
lines changed

2 files changed

+45
-4
lines changed

README_DEVELOPERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ To build a distribution tarball from the valgrind sources:
2424
make dist
2525

2626
In addition to compiling, linking and packaging everything up, the command
27-
will also build the documentation. Even if all required tools for building the
28-
documentation are installed, this step may not succeed because of hidden
29-
dependencies. E.g. on Ubuntu you must have "docbook-xsl" installed.
30-
Additionally, specific tool versions maybe needed.
27+
will also attempt to build the documentation.
3128

3229
If you only want to test whether the generated tarball is complete and runs
3330
regression tests successfully, building documentation is not needed.
3431
Edit docs/Makefile.am, search for BUILD_ALL_DOCS and follow instructions there.
3532

33+
If you insist on building documentation some embarrassing instructions
34+
can be found in docs/internals/howto_build_documentation.
35+
3636

3737
Running the regression tests
3838
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
A typical "make" will not build documentation.
2+
Documentation is only built during "make dist".
3+
Typically, building documentation will fail.
4+
5+
On Ubuntu 14.04.2 LTS the following is known to work:
6+
7+
Required packages:
8+
texlive
9+
dblatex
10+
xsltproc
11+
xmltex
12+
docbook-xml
13+
docbook-xsl
14+
15+
Additional the following lines need to be changed in
16+
/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
17+
around line 450 from
18+
19+
20+
\ifETE@prepend
21+
\expandafter\PrependGraphicsExtensions
22+
\else
23+
\expandafter\AppendGraphicsExtensions
24+
\fi
25+
{.eps}
26+
27+
28+
to
29+
30+
31+
%% \ifETE@prepend
32+
%% \expandafter\PrependGraphicsExtensions
33+
%% \else
34+
%% \expandafter\AppendGraphicsExtensions
35+
%% \fi
36+
%% {.eps}
37+
38+
39+
This hack was devised by Mark Wielaard.
40+
41+
It is unknown how to build documentation on other platforms.

0 commit comments

Comments
 (0)