Fixed up docs and autoconf interaction (part of gimp-rrh-980125-0)

-Yosh
This commit is contained in:
Manish Singh 1998-02-14 23:03:49 +00:00
parent b23afad472
commit 69593b73ed
5 changed files with 95 additions and 83 deletions

View File

@ -1,3 +1,8 @@
Sat Feb 14 15:01:46 PST 1998 Manish Singh <yosh@gimp.org>
* Fixed up docs and autoconf interaction (part of
gimp-rrh-980125-0)
Fri Feb 13 02:00:01 PST 1998 Manish Singh <yosh@gimp.org>
* libgimp/gimp.c

View File

@ -2,4 +2,4 @@ Makefile
Makefile.in
pdb.info*
pdb_dump
pdb.texi
pdb_dump.texi

View File

@ -1,20 +1,26 @@
scriptdata =
EXTRA_DIST = \
gimp.txt pdb_self_doc.el \
pdb_dump xcf.doc \
cheat_sheet.txt keybindings.txt \
texinfo.tex script-fu.tex \
architecture.eps logo.eps \
net-fu.eps timeline.eps
net-fu.eps timeline.eps \
pdb_dump.texi
BUILT_SOURCES = pdb_dump.texi
info_TEXINFOS = pdb.texi
pdb_TEXINFOS = pdb_dump.texi
pdb.texi: $(top_srcdir)/docs/pdb_self_doc.el pdb_dump
@EMACS@ --batch -l $(top_srcdir)/docs/pdb_self_doc.el -f make-docs-noargs
pdb_dump.texi: $(srcdir)/pdb_self_doc.el $(srcdir)/pdb_dump
cd $(srcdir) && \
@EMACS@ --batch -l pdb_self_doc.el -f make-docs-noargs
pdb_dump: $(top_srcdir)/app/*.c
$(top_builddir)/app/gimp --no-interface --batch '(gimp-procedural-db-dump "pdb_dump")' '(gimp-quit 0)'
## use `cp' followed by `rm' since `mv' may not be able to move across mount pts
$(srcdir)/pdb_dump: $(top_srcdir)/app/*.c
$(top_builddir)/app/gimp --no-interface --batch '(gimp-procedural-db-dump "pdb_dump.tmp")' '(gimp-quit 0)'
cp pdb_dump.tmp $(srcdir)/pdb_dump
-rm -f pdb_dump.tmp
script-fu.ps: script-fu.dvi
dvips -f script-fu.dvi > script-fu.ps

71
docs/pdb.texi Normal file
View File

@ -0,0 +1,71 @@
texinfo @c -*-texinfo-*-
@setfilename pdb.info
@settitle GIMP Procedural Database Documentation
@setchapternewpage on
@ifinfo
This file describes the GIMP procedural database.
Copyright (C) 1995, 1996, 1997 by Spencer Kimball and Peter Mattis. All rights reserved.
We distribute @sc{gimp} under the terms of the GNU General Public
License, Version 2, which we have included with this release
in the file named @file{COPYING}, and in the ``Copying'' section of
this manual.
As indicated in the License,
we provide the program
``as is'' without warranty
of any kind, either expressed or implied, without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@end ifinfo
@c @iftex
@c @hyphenation{Project-Header Project-Author Project-Date Project-Version}
@c @end iftex
@titlepage
@center @titlefont{GIMP: Procedural Database Documentation}
@sp 2
@center Spencer Kimball and Peter Mattis
@center eXperimental Computing Facility
@center The University of California at Berkeley
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1995, 1996, 1997 Spencer Kimball and Peter Mattis.
We distribute @sc{gimp} under the terms of the GNU General Public
License, Version 2, which we have included with this release
in the file named @file{COPYING}, and in the appendix to this manual. As indicated in the License,
we provide the program
``as is'' without warranty
of any kind, either expressed or implied, without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@end titlepage
@dircategory Elite Image Manipulation
@direntry
* GIMP!: (pdb). The GIMP procedural database.
@end direntry
@node Top, , (dir), (dir)
@ifinfo
This document is the procedural database documentation for @sc{The
GIMP}, the GNU Image Manipulation Program. The documentation is
automatically generated from help strings embedded in the code. It is
intended to provide information about the functionality, arguments and
return values for procedures in the procedural database.
@end ifinfo
@menu
* Commands:: All commands.
@end menu
@node Commands, , Top, Top
@c 1
@chapter Commands
@include pdb_dump.texi
@bye

View File

@ -7,83 +7,13 @@
(defvar list-of-pdb-entries nil)
(setq list-of-pdb-entries nil)
(defun make-new-file(file-name)
(defun make-new-file (file-name)
(let ((buffer (get-buffer-create (generate-new-buffer-name file-name))))
(set-buffer buffer)
(insert
"\\input texinfo @c -*-texinfo-*-
@setfilename pdb.info
@settitle GIMP Procedural Database Documentation
@setchapternewpage on
@ifinfo
This file describes the GIMP procedural database.
Copyright (C) 1995, 1996, 1997 by Spencer Kimball and Peter Mattis. All rights reserved.
We distribute @sc{gimp} under the terms of the GNU General Public
License, Version 2, which we have included with this release
in the file named @file{COPYING}, and in the ``Copying'' section of
this manual.
As indicated in the License,
we provide the program
``as is'' without warranty
of any kind, either expressed or implied, without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@end ifinfo
@c @iftex
@c @hyphenation{Project-Header Project-Author Project-Date Project-Version}
@c @end iftex
@titlepage
@center @titlefont{GIMP: Procedural Database Documentation}
@sp 2
@center Spencer Kimball and Peter Mattis
@center eXperimental Computing Facility
@center The University of California at Berkeley
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1995, 1996, 1997 Spencer Kimball and Peter Mattis.
We distribute @sc{gimp} under the terms of the GNU General Public
License, Version 2, which we have included with this release
in the file named @file{COPYING}, and in the appendix to this manual. As indicated in the License,
we provide the program
``as is'' without warranty
of any kind, either expressed or implied, without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@end titlepage
@dircategory Elite Image Manipulation
@direntry
* GIMP!: (pdb). The GIMP procedural database.
@end direntry
@node Top, , (dir), (dir)
@ifinfo
This document is the procedural database documentation for @sc{The
GIMP}, the GNU Image Manipulation Program. The documentation is
automatically generated from help strings embedded in the code. It is
intended to provide information about the functionality, arguments and
return values for procedures in the procedural database.
@end ifinfo
@menu
* Commands:: All commands.
@end menu
@node Commands, , Top, Top
@c 1
@chapter Commands
")
buffer))
(set-buffer buffer)))
(defun finish-file()
(insert "@bye\n"))
;; do nothing
)
(defun pdb-sort(a b)
(string< (car a) (car b)))
@ -160,4 +90,4 @@ return values for procedures in the procedural database.
))
(defun make-docs-noargs ()
(make-docs "pdb_dump" "pdb.texi"))
(make-docs "pdb_dump" "pdb_dump.texi"))