Skip to contentSkip to conversation

Something wrong when transform Documentation/DocBook/*.tmpl into pdf

DISCUSSION Park Lee 3 participants 3 messages Dec 23, 2004

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Hi,
I'm using Fedora Core 2. In
/usr/src/linux-2.6.5-1.358/Documentation/kernel-doc-nano-HOWTO.txt, in the 'How to extract the documentation' subsection,
it says:

If you just want to read the ready-made books on the various subsystems (see Documentation/DocBook/*.tmpl), just type 'make psdocs', or 'make pdfdocs', or 'make htmldocs', depending on your preference.

Then, on the command line, I type the following
commands:

cd /usr/src/linux-2.6.5-1.358/Documentation/DocBook <ENTER>
make pdfdocs <ENTER>

But the system says the following:

make: *** No rule to make target scripts/kernel-doc', needed by /wanbook.sgml'. Stop.

Then, what's the matter? How actually can I
transform the *.tmpl in Documentation/DocBook into pdf files?

Thank you.

=====
Best Regards,
Park Lee

__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com

#1 lore raw
Quoted 6 lines · Park Lee

Then, on the command line, I type the following
commands:

cd /usr/src/linux-2.6.5-1.358/Documentation/DocBook <ENTER>
make pdfdocs <ENTER>

Execute the command from the root of the kernel src:
cd /usr/src/linux-2.6.5-1.358/
make pdfdocs

Sam

#2 lore raw
In reply to Park Lee

On Thu, 23 Dec 2004, Park Lee wrote:

[...]

Quoted 9 lines

If you just want to read the ready-made books on the various subsystems (see Documentation/DocBook/*.tmpl), just type 'make psdocs', or 'make pdfdocs', or 'make htmldocs', depending on your preference.

Then, on the command line, I type the following
commands:

cd /usr/src/linux-2.6.5-1.358/Documentation/DocBook

Wrong, you want to be in the top of the kernel source tree, not in the Documentation/DocBook subdir.

cd /path/to/your/kernel/source
make pdfdocs

you can also make docs in other formats, try running "make help" and you'll see this :

[...]
Documentation targets:
Linux kernel internal documentation in different formats:
sgmldocs (SGML), psdocs (Postscript), pdfdocs (PDF) htmldocs (HTML), mandocs (man pages, use installmandocs to install)
[...]

Signature · 1 line
Jesper Juhl