diff --git a/ChangeLog b/ChangeLog index 45e1fc53..8ae36717 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1998-05-23 Martin Baulig + + * configure.in (CFLAGS): added -D_IN_LIBGTOP + + * */Makefile.am (INCLUDES): removed -I$(includedir). + 1998-05-22 Martin Baulig * doc/{libgtop-ref.sgml, libgtop-ref.dsl}: New files. diff --git a/doc/.cvsignore b/doc/.cvsignore index 7ceb66f0..d91096a3 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -16,6 +16,7 @@ libgtop-4.shtml libgtop-5.shtml libgtop-INDEX.shtml libgtop-ref +libgtop-ref.ced libgtop.ced libgtop.fot libgtop.shtml diff --git a/doc/libgtop-ref.sgml b/doc/libgtop-ref.sgml index 292d3a20..93e645c2 100644 --- a/doc/libgtop-ref.sgml +++ b/doc/libgtop-ref.sgml @@ -17,6 +17,16 @@ + + + $Id$ + + + This reference manual is automatically generated from doc/make-docbook.scm. + It uses the guile interface of libgtop to get the names of all + features the library defines and a description of the structures. + + 1998 Martin Baulig @@ -49,12 +59,9 @@ - + - - - Function Reference List - + &reference.sgml; diff --git a/guile/make-docbook.scm b/guile/make-docbook.scm index 2c2d6eb7..aae7542b 100644 --- a/guile/make-docbook.scm +++ b/guile/make-docbook.scm @@ -26,7 +26,7 @@ ) ) -(define make-docbook +(define make-function-reference (lambda (feature) (let* ((names (eval-string (string "(glibtop-names-" feature ")"))) (types (eval-string (string "(glibtop-types-" feature ")"))) @@ -37,7 +37,7 @@ (description (assoc-ref sysdeps 'description)) (descriptions (eval-string (string "(glibtop-descriptions-" feature ")"))) (decl-list '()) (field-list '()) - + (synopsis-start-string (string "Automatically generated function synopsis:\n\n")) @@ -299,8 +299,13 @@ (begin (make-sysdeps-list) + + (display (string "\n" + "Function Reference List\n\n") + ) + (for-each (lambda (x) - (display (make-docbook x)) + (display (make-function-reference x)) ) (glibtop-names-sysdeps)) )