summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-08-29 09:25:29 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-08-29 09:25:29 +0000
commitb621a5b9579a776af4744c2a00febb1905118dc8 (patch)
tree36269fb18699a7cc20ffce68c43f8387ee64843d
parent8cec06a574d0722ce08a4464e36451c200367ecd (diff)
downloadgobject-introspection-b621a5b9579a776af4744c2a00febb1905118dc8.tar.gz
Add man pages for the generator and compiler.
2008-08-29 Johan Dahlin <johan@gnome.org> * Makefile.am: * docs/g-ir-compiler.1: * docs/g-ir-generate.1: * docs/g-ir-scanner.1: Add man pages for the generator and compiler. svn path=/trunk/; revision=518
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.am5
-rw-r--r--docs/g-ir-compiler.151
-rw-r--r--docs/g-ir-generate.129
-rw-r--r--docs/g-ir-scanner.12
5 files changed, 93 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 23c148e7..eb288ca2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2008-08-29 Johan Dahlin <johan@gnome.org>
+ * Makefile.am:
+ * docs/g-ir-compiler.1:
+ * docs/g-ir-generate.1:
+ * docs/g-ir-scanner.1:
+ Add man pages for the generator and compiler.
+
+2008-08-29 Johan Dahlin <johan@gnome.org>
+
* docs/g-ir-scanner.1: Document
* giscanner/Makefile.am:
diff --git a/Makefile.am b/Makefile.am
index 72b25df4..dc472592 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,10 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = girepository giscanner tools gir tests
DIST_SUBDIRS = m4 $(SUBDIRS)
-man_MANS = docs/g-ir-scanner.1
+man_MANS = \
+ docs/g-ir-compiler.1 \
+ docs/g-ir-generate.1 \
+ docs/g-ir-scanner.1
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gobject-introspection-1.0.pc
diff --git a/docs/g-ir-compiler.1 b/docs/g-ir-compiler.1
new file mode 100644
index 00000000..8d1b85d0
--- /dev/null
+++ b/docs/g-ir-compiler.1
@@ -0,0 +1,51 @@
+.TH "g-ir-compiler" 1
+.SH NAME
+g-ir-compiler \- typelib compiler.
+.SH SYNOPSIS
+.B g-ir-compiler
+[OPTION...] GIRFILE
+.SH DESCRIPTION
+g-ir-compiler converts one or more GIR files into one or more typelib.
+It can either emit the raw typelib blob (default behavior) or C code
+(--code). The output will be written to standard output unless the --output
+is specified.
+.SH OPTIONS
+.TP
+.B \---help
+Show help options
+.TP
+.B \, ---code
+Emit C code which is suitable for including in a shared library instead
+of a raw typelib.
+.TP
+.B \, ---output=FILENAME
+Save the resulting output in FILENAME.
+.TP
+.B \---verbose
+Show verbose messages
+.TP
+.B \---debug
+Show debug messages
+.TP
+.B \---no-init
+Do not include an initialization snippet to register the typelib in the
+respository. This can only be used if --code is also specified.
+.TP
+.B \---includedir=DIRECTORY
+Adds a directory which will be used to find includes inside the GIR format.
+.TP
+.B \---module=MODULE
+FIXME
+.TP
+.B \---shared-library=FILENAME
+Specifies the shared library where the symbols in the typelib can be found.
+The name of the library should not contain the leading lib prefix nor
+the ending shared library suffix.
+.TP
+.SH BUGS
+Report bugs at http://bugzilla.gnome.org/ in the glib product and
+introspection component.
+.SH HOMEPAGE and CONTACT
+http://live.gnome.org/GObjectIntrospection
+.SH AUTHORS
+Mattias Clasen
diff --git a/docs/g-ir-generate.1 b/docs/g-ir-generate.1
new file mode 100644
index 00000000..7914cce3
--- /dev/null
+++ b/docs/g-ir-generate.1
@@ -0,0 +1,29 @@
+%.TH "g-ir-generate" 1
+.SH NAME
+g-ir-generate \- typelib generator
+.SH SYNOPSIS
+.B g-ir-generate
+[OPTION...] FILES...
+.SH DESCRIPTION
+g-idl-generate is an GIR generator, using the repository API. It generates
+GIR files from a raw typelib or in a shared library (--shlib).
+The output will be written to standard output unless the --output
+is specified.
+.SH OPTIONS
+.TP
+.B \---help
+Show help options
+.TP
+.B \, ---shlib=FILENAME
+The shared library to read the symbols from.
+.TP
+.B \, ---output=FILENAME
+Save the resulting output in FILENAME.
+.TP
+.SH BUGS
+Report bugs at http://bugzilla.gnome.org/ in the glib product and
+introspection component.
+.SH HOMEPAGE and CONTACT
+http://live.gnome.org/GObjectIntrospection
+.SH AUTHORS
+Mattias Clasen
diff --git a/docs/g-ir-scanner.1 b/docs/g-ir-scanner.1
index bab6cf0b..789e2c6f 100644
--- a/docs/g-ir-scanner.1
+++ b/docs/g-ir-scanner.1
@@ -32,7 +32,7 @@ correctly specified.
Specifies a library that will be introspected. This means that the
*_get_type() functions in it will be called for GObject data types.
The name of the library should not contain the leading lib prefix nor
-the ending shared library suffix. Eg:
+the ending shared library suffix.
.TP
.B \-L, ---library-path=PATH
Include this directory when searching for a library.