Building ubuntu-docs

David Planella david.planella at ubuntu.com
Wed Apr 18 13:53:48 UTC 2012


Al 18/04/12 15:47, En/na Peter Matulis ha escrit:
> How do I build the HTML pages for the documentation contained in
> ubuntu-docs?  I am following the documentation [1] but it does not work.
>  I must be missing something basic, sorry for that.
> 
> $ bzr branch lp:ubuntu-docs
> $ cd ubuntu-docs

Hi Peter,

They are built separately from the package, so you need to use the
Makefile inside the html folder for that. Simply add the following
command to your steps:

$ cd html

> $ make all
> 

Cheers,
David.

> make: *** No rule to make target `all'.  Stop.
> 
> So I saw autogen.sh:
> 
> $ ./autogen.sh
> /usr/bin/gnome-autogen.sh
> checking for autoconf >= 2.53...
> .
> .
> .
> config.status: creating Makefile
> config.status: creating ubuntu-help/Makefile
> Now type `make' to compile ubuntu-doc
> 
> $ make all
> .
> .
> .
> make[1]: Leaving directory
> `/home/peter/Data/U1/launchpad/ubuntu-docs/ubuntu-help'
> make[1]: Entering directory `/home/peter/Data/U1/launchpad/ubuntu-docs'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/peter/Data/U1/launchpad/ubuntu-docs'
> 
> So where are the pages?
> 
> $ find . -name '*html'
> ./html
> 
> $ ls html
> total 36K
> -rwxrwxr-x 1 peter peter 1.4K Apr 18 09:28 fix-urls.sed*
> drwxrwxr-x 2 peter peter 4.0K Apr 18 09:28 img/
> -rw-rw-r-- 1 peter peter 4.2K Apr 18 09:28 Makefile
> -rw-rw-r-- 1 peter peter  18K Apr 18 09:28 ubuntu.xsl
> 
> [1]:
> https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/BuildingDocumentation
> 


-- 
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20120418/0ea1c700/attachment.pgp>


More information about the ubuntu-doc mailing list