Adding images to api docs
- From: "Matthias Clasen" <matthiasc poet de>
- To: <gtk-doc-list gnome org>
- Subject: Adding images to api docs
- Date: Fri, 19 Oct 2001 11:11:47 +0200
Hi,
I have done an experiment with adding the stock icons to the api docs.
To do this, I added
HTML_IMAGES = \
../../../gtk/stock-items/stock_add.png \
../../../gtk/stock-items/stock_button_apply.png \
... and so on for all stock items.
This turns up a few small problems in the generic parts of the
docs/reference/gtk/Makefile.am:
The line
test "x$(HTML_IMAGES)" = "x" || ( c $(srcdir) && cp $(HTML_IMAGES)
html )
would better be written like
cd $(srcdir) && ( images="$(HTML_IMAGES)" ; \
for i in $$images ; do \
cp $$i html ; \
done )
otherwise I run into line length limitations (of make, shell or cp ?) and
get errors like
cp: cannot stat '../../../gtk/stock-icons/stock_add.png': no such file or
directory
I can fix this for the gtk doc Makefile.am, but I guess the generic
Makefile.am example
needs fixing as well.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]