don't build devel-docs/pdb/Makefile.am

2001-06-08  Michael Natterer  <mitch@gimp.org>

	* configure.in: don't build devel-docs/pdb/Makefile.am

2001-06-08  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* pdb/*: removed as we use gtk-doc now.
This commit is contained in:
Michael Natterer 2001-06-08 16:50:49 +00:00 committed by Michael Natterer
parent af395b2ff9
commit 6231934d6f
8 changed files with 19 additions and 198 deletions

View File

@ -1,3 +1,7 @@
2001-06-08 Michael Natterer <mitch@gimp.org>
* configure.in: don't build devel-docs/pdb/Makefile.am
2001-06-07 Michael Natterer <mitch@gimp.org>
* configure.in: added zh_TW.Big5 to ALL_LINGUAS. Added the

View File

@ -867,7 +867,6 @@ devel-docs/libgimpbase/Makefile
devel-docs/libgimpcolor/Makefile
devel-docs/libgimpmath/Makefile
devel-docs/libgimpwidgets/Makefile
devel-docs/pdb/Makefile
docs/Makefile
pixmaps/Makefile
data/Makefile

View File

@ -1,3 +1,8 @@
2001-06-08 Michael Natterer <mitch@gimp.org>
* Makefile.am
* pdb/*: removed as we use gtk-doc now.
2001-06-08 Michael Natterer <mitch@gimp.org>
* pdb/Makefile.am: fixed location of the *_cmds.c files.

View File

@ -1,12 +1,15 @@
SUBDIRS = libgimpcolor libgimpmath libgimpbase libgimpwidgets libgimp pdb
## Process this file with automake to produce Makefile.in
SUBDIRS = libgimpcolor libgimpmath libgimpbase libgimpwidgets libgimp
EXTRA_DIST = \
README \
README.gtkdoc \
gih.txt \
gpb.txt \
parasites.txt \
undo.txt \
ChangeLog \
README \
README.gtkdoc \
gih.txt \
gpb.txt \
parasites.txt \
undo.txt \
xcf.txt
files:

View File

@ -1,5 +0,0 @@
Makefile
Makefile.in
pdb.info*
pdb_dump
pdb_dump.texi

View File

@ -1,21 +0,0 @@
## Process this file with automake to produce Makefile.in
EXTRA_DIST = \
pdb.texi \
pdb_self_doc.el \
texinfo.tex
pdb_dump.texi: $(srcdir)/pdb_self_doc.el $(srcdir)/pdb_dump
cd $(srcdir) && \
@EMACS@ --batch -l pdb_self_doc.el -f make-docs-noargs
## use `cp' followed by `rm' since `mv' may not be able to move across mount pts
$(srcdir)/pdb_dump: $(top_srcdir)/app/pdb/*_cmds.c $(top_builddir)/app/gimp
$(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
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files macros/*; do \
echo $$p; \
done

View File

@ -1,71 +0,0 @@
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

@ -1,93 +0,0 @@
;; Be it known that Josh wrote most of this file.
(defmacro register-procedure(name blurb descr author copy date type inputs outputs)
`(setq list-of-pdb-entries (cons (list ,name ,blurb ,descr ,author ,copy ,date ,type ',inputs ',outputs)
list-of-pdb-entries)))
(defvar list-of-pdb-entries nil)
(setq list-of-pdb-entries nil)
(defun make-new-file (file-name)
(let ((buffer (get-buffer-create (generate-new-buffer-name file-name))))
(set-buffer buffer)))
(defun finish-file()
;; do nothing
)
(defun pdb-sort(a b)
(string< (car a) (car b)))
(defun make-docs(file output)
(interactive "fInput: \nFOutput: ")
(let ((source-buffer (find-file-noselect file))
(doc-buffer (make-new-file output)))
(if (not source-buffer)
(error "Can't open file %s" file)
(setq list-of-pdb-entries nil)
(eval-buffer source-buffer)
(setq list-of-pdb-entries (sort list-of-pdb-entries 'pdb-sort))
(set-buffer doc-buffer)
(mapcar 'output-each-pdb list-of-pdb-entries)
(finish-file)
(write-file output)
(kill-buffer doc-buffer)
(kill-buffer source-buffer))))
(defun output-each-pdb (entry)
(let* ((name (car entry))
(blurb (car (cdr entry)))
(descr (car (cdr (cdr entry))))
(author (car (cdr (cdr (cdr entry)))))
(copy (car (cdr (cdr (cdr (cdr entry))))))
(date (car (cdr (cdr (cdr (cdr (cdr entry)))))))
(type (car (cdr (cdr (cdr (cdr (cdr (cdr entry))))))))
(inputs (car (cdr (cdr (cdr (cdr (cdr (cdr (cdr entry)))))))))
(inputs2 inputs)
(outputs (car (cdr (cdr (cdr (cdr (cdr (cdr (cdr (cdr entry)))))))))))
(insert "@defun " name " ")
(while inputs
(insert (format "%s" (car (car inputs))))
(if (cdr inputs)
(insert ", "))
(setq inputs (cdr inputs)))
(insert "\n")
(insert descr)
(insert "--@strong{")
(insert type)
(insert "}")
(if inputs2
(progn
(insert "\n\n@strong{Inputs}\n")
(insert "@itemize @bullet\n")
(while inputs2
(let ((js (car inputs2)))
(insert "@item ")
(insert (format "@emph{%s} " (car js)))
(insert (format "(%s)--" (car (cdr js))))
(insert (concat (upcase (substring (car (cdr (cdr js))) 0 1)) (substring (car (cdr (cdr js))) 1 nil)))
(insert "\n")
(setq inputs2 (cdr inputs2))))
(insert "@end itemize\n")))
(if outputs
(progn
(insert "\n\n@strong{Outputs}\n")
(insert "@itemize @bullet\n")
(while outputs
(let ((js (car outputs)))
(insert "@item ")
(insert (format "@emph{%s} " (car js)))
(insert (format "(%s)--" (car (cdr js))))
(insert (concat (upcase (substring (car (cdr (cdr js))) 0 1)) (substring (car (cdr (cdr js))) 1 nil)))
(insert "\n")
(setq outputs (cdr outputs))))
(insert "@end itemize\n")))
(insert "@end defun\n")
(insert "@emph{")
(insert author)
(insert "}\n\n")
))
(defun make-docs-noargs ()
(make-docs "pdb_dump" "pdb_dump.texi"))