Reference Manual creation

Andreas Fester <[email protected]> Tue, 09 Jan 2007 20:32:44 +0100
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Stefan,

when creating the synopsis 0.9 reference as part of the build
process, without synopsis being actually installed, I need to perform
the following steps:

export LD_LIBRARY_PATH=$(CURDIR)/build/ctemp.linux-x86_64/src/lib
export PYTHONPATH=$(CURDIR)/build/lib.linux-x86_64-2.4
mkdir $(CURDIR)/build/lib.linux-x86_64-2.4/share
cp -R $(CURDIR)/share/Synopsis $(CURDIR)/build/lib.linux-x86_64-2.4/share
python setup.py build_doc --ref-manual --html
rm -rf $(CURDIR)/build/lib.linux-x86_64-2.4/share

I think that there is no alternative to setting LD_LIBRARY_PATH and PYTHONPATH,
so that is not an issue.
But, what bugs me a bit, is the need to copy the share/Synopsis directory
into the build tree, to allow synopsis to find image and css files, and
to remove it again afterwards.
Is there a better way of doing this?

Thanks & best Regards,

	Andreas

- --
Andreas Fester
mailto:[email protected]
WWW: http://www.littletux.net
ICQ: 326674288
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFo+3cZ3bQVzeW+rsRAjkeAKCW1JIiTll98oFFKod3sabiyX3CFQCgxpKB
Uy2ZAgStXUL12toMFsGOqIs=
=GH9p
-----END PGP SIGNATURE-----