summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaël CHAMOULAUD <strider@src.gnome.org>2003-03-20 20:04:06 +0000
committerGaël CHAMOULAUD <strider@src.gnome.org>2003-03-20 20:04:06 +0000
commita189ebbcc9b05cda2ea77f84db8a65855f5b3fb7 (patch)
tree3a2dd7dc8ea215c8a50abec732e87917f4443e08
parent922bf5032aac55b0aa6d91c9ea1808b50f705afd (diff)
downloadlibcroco-a189ebbcc9b05cda2ea77f84db8a65855f5b3fb7.tar.gz
Added a man page for croco-config
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am3
-rw-r--r--croco-config.131
3 files changed, 37 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc2dde1..d08f6eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-20 Gaël Chamoulaud <strider@freespiders.org>
+
+ * Makefile.am (SUBDIRS): added man page for croco-config
+
2003-03-20 Dom Lachowicz <cinamod@hotmail.com>
* COPYING: replace with contents from COPYING.LIB (GNU LGPL)
diff --git a/Makefile.am b/Makefile.am
index c2b04dd..3226865 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,7 @@ extrainclude_DATA= libcroco-config.h
bin_SCRIPTS=croco-config
+man_MANS = croco-config.1
EXTRA_DIST= croco-config.in libcroco.pc.in TODO Doxyfile HACKING \
docs/examples/cssom-example.c docs/usage.txt tests/test-inputs/*.css \
@@ -17,4 +18,4 @@ tests/test-outputs/*.out
apidoc:
if ! test -d docs/apis ; then mkdir -p docs/apis ; fi ;
- doxygen Doxyfile \ No newline at end of file
+ doxygen Doxyfile
diff --git a/croco-config.1 b/croco-config.1
new file mode 100644
index 0000000..12797f3
--- /dev/null
+++ b/croco-config.1
@@ -0,0 +1,31 @@
+.TH LIBCROCO 1 "20 January 2003" Version 0.1.0
+.SH NAME
+croco-config - script to get information about the installed version of LIBCROCO
+.SH SYNOPSIS
+.B croco-config
+[\-\-prefix\fI[=DIR]\fP] [\-\-libs] [\-\-cflags] [\-\-version] [\-\-help]
+.SH DESCRIPTION
+\fIcroco-config\fP is a tool that is used to determine the compile and
+linker flags that should be used to compile and link programs that use
+\fILIBCROCO\fP.
+.SH OPTIONS
+.l
+\fIcroco-config\fP accepts the following options:
+.TP 8
+.B \-\-version
+Print the currently installed version of \fILIBCROCO\fP on the standard output.
+.TP 8
+.B \-\-libs
+Print the linker flags that are necessary to link a \fILIBCROCO\fP program.
+.TP 8
+.B \-\-cflags
+Print the compiler flags that are necessary to compile a \fILIBCROCO\fP program.
+.TP 8
+.B \-\-prefix=PREFIX
+If specified, use PREFIX instead of the installation prefix that
+\fILIBCROCO\fP was built with when computing the output for the
+\-\-cflags and \-\-libs options. This option must be specified before
+any \-\-libs or \-\-cflags options.
+.SH AUTHOR
+This manual page was written by Gaël CHAMOULAUD (strider) <strider@freespiders.org>,
+for the Mandrake GNU/linux system (but may be used by others).