tweak it more ...

--Sven
This commit is contained in:
Sven Neumann 2000-02-03 17:25:26 +00:00
parent 3ac869b577
commit 495d2da817
3 changed files with 39 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Fre Feb 4 16:18:39 CET 2000 Sven Neumann <sven@gimp.org>
* libgimp/Makefile.am: I'm still tweaking it a bit...
* README: Filled in the HOWTO section.
Fre Feb 4 13:59:25 CET 2000 Sven Neumann <sven@gimp.org>
* libgimp/.cvsignore

View File

@ -48,5 +48,31 @@ gtk-doc - This package automatically generates DocBook
HOWTO
-----
Carefully read the README that comes with gtk-doc. Then
read it again. Once you think you really understood how
it is supposed to work, fill in this chapter.
read it again! The following lines will only give you hints
about how our system works. You should have understood the
principles of gtk-doc before you touch it.
The system is already set up so unless there are substantial
changes to the source e.g. new files were added, functions
were added, renamed or removed or parameters changed, there
is no need to repeat the scan step or rebuild the templates.
The Makefile will only work if gtk-doc was successfully
found when configure was ran. To rerun the scan step you also
need to have gimp installed (the version you are documenting)
and the correct version of gimptool should be found in your
PATH. If everything was set up correctly running a simple
make should do the trick and generate the SGML and HTML files
for you.
In most cases you will work on the documentation by adding or
editing comment blocks in the C source and by editing the
template SGML files in the tmpl dir. The following steps
should rebuild the documentation after a change:
make sgml - Creates the SGML files from the templates found
in the tmpl dir and from the comment blocks found
in the source.
make html - Build HTML pages out of the SGML files.

View File

@ -64,7 +64,8 @@ EXTRA_DIST =
if ENABLE_GTK_DOC
libgimp.html: html/book1.html
-cd $(srcdir) && cp html/book1.html libgimp.html
-cd $(srcdir) && \
sed -e 's/HREF=\"/HREF=\"libgimp\//' html/book1.html > libgimp.html
else
libgimp.html:
endif
@ -94,7 +95,7 @@ html:
-cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
clean-local:
rm -f *~ *.bak *-unused.txt
rm -f *~ *.bak *-unused.txt libgimp.html
maintainer-clean-local: clean
cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
@ -127,3 +128,6 @@ dist-hook:
.PHONY : html sgml templates scan
# devel-docs/libgimp/Makefile.am ends here