OK, seen the sticky. I'll have a play with that in a bit.
html2epub didn't like it though:
Code:
Splitting getting-started.xhtml (2 KB)
Splitting on page breaks...
Looking for large trees...
No large trees found
Splitting indexes.xhtml (648 KB)
Splitting on page breaks...
Looking for large trees...
Traceback (most recent call last):
File "/usr/bin/html2epub", line 8, in <module>
load_entry_point('calibre==0.5.14', 'console_scripts', 'html2epub')()
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/from_html.py", line 543, in main
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/from_html.py", line 480, in convert
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 500, in split
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 76, in __init__
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 166, in split_to_size
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 166, in split_to_size
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 166, in split_to_size
File "build/bdist.linux-x86_64/egg/calibre/ebooks/epub/split.py", line 152, in split_to_size
calibre.ebooks.epub.split.SplitError: Could not find reasonable point at which to split: indexes.xhtml Sub-tree size: 647 KB
Hmm. Looks like I might have to live without the PHP manual after all

I'm going to have a go with 0.6 as soon as the binary finishes downloading (assuming I can make a couple of i686 binaries work properly on x86_64).
EDIT: Nope, it's not playing ball.
Code:
philpem@cheetah:~/phpdoc/html$ ~/calibre/prebuild/ebook-convert index.html ../phpdoc.lrf
Traceback (most recent call last):
File "/tmp/init.py", line 45, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/conversion/cli.py", line 214, in main
File "/home/kovid/work/calibre/src/calibre/ebooks/conversion/cli.py", line 203, in create_option_parser
File "/home/kovid/work/calibre/src/calibre/ebooks/conversion/plumber.py", line 9, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/ui.py", line 11, in <module>
File "/home/kovid/work/calibre/src/calibre/customize/builtins.py", line 318, in <module>
File "/home/kovid/work/calibre/src/calibre/ebooks/epub/input.py", line 9, in <module>
File "ExtensionLoader_lxml_etree.py", line 12, in <module>
ImportError: /home/philpem/calibre/prebuild/libexslt.so.0: symbol gcry_cipher_setkey, version GCRYPT_1.2 not defined in file libgcrypt.so.11 with link time reference
EDIT2: Can't get the compiled-from-source version going either. It's after a module called "multiprocessing", which is in Python2.6 and above... I don't think I'm going to bother doing an upgrade to the latest release of Ubuntu just to get Calibre running, thanks.