[Pkg-scicomp-commits] opencv/trunk/debian
Daniel Leidert
daniel.leidert.spam at gmx.net
Sun May 11 21:48:21 UTC 2008
SVN commit 2469 by dleidert-guest:
* debian/opencv-config.1: One typo fix and several format improvements.
M +1 -0 opencv/trunk/debian/changelog
M +28 -24 opencv/trunk/debian/opencv-config.1
--- opencv/trunk/debian/changelog #2468:2469
@@ -2,6 +2,7 @@
* debian/control: Added Homepage field.
(Vcs-Svn): Fixed.
+ * debian/opencv-config.1: One typo fix and several format improvements.
* debian/watch: Added.
-- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Sat, 10 May 2008 14:25:23 +0200
--- opencv/trunk/debian/opencv-config.1 #2468:2469
@@ -1,51 +1,55 @@
-.TH opencv-config 1 "2004-04-22" "OpenCV"
+.TH "opencv\-config" "1" "2004-04-22" "OpenCV"
.SH NAME
opencv-config \- script to get information about the installed version of OpenCV
.SH SYNOPSIS
.B opencv-config
-[ --prefix=
-.IR DIR ]
-[ --version ] [ --libs [<extensions>]] [ --cflags | --cxxflags ]
+.BI "[ \-\-prefix=" "DIR" " ]"
+.B [ \-\-version ]
+.BI "[ \-\-libs [" <extensions> "]]"
+.B [ \-\-cflags | \-\-cxxflags ]
.SH DESCRIPTION
-.B opencv-config
+.B opencv\-config
is a tool that is used to configure and determine the compiler and linker
-flags that should be used to compile and link progams, libraries, and
+flags that should be used to compile and link programs, libraries and
plugins that use OpenCV.
.SH OPTIONS
.TP
-.B --cflags
+.B \-\-cflags
Print the C compiler flags that are necessary to compile a program or library
that uses OpenCV.
.TP
-.B --cxxflags
+.B \-\-cxxflags
Print the C++ compiler flags that are necessary to compile a program or library
that uses OpenCV.
.TP
-.B --libs [<extensions>]
+.BI "\-\-libs [" <extensions> "]"
Print the linker flags that are necessary to link a program that uses
libcv. Optionally, add linker flags for the libhighgui, libcvcam and/or
libcvaux OpenCV extensions by appending highgui, cvcam and/or cvaux.
.TP
-.BI --prefix= DIR
+.BI "\-\-prefix=" DIR
If specified, use PREFIX instead of the installation prefix that libcv
-was built with when computing the output for the --cflags, --cxxflags and
---libs options. This option must be specified before any of the --cflags,
---cxxflags and --libs options.
+was built with when computing the output for the \fB\-\-cflags\fR, \fB\-\-cxxflags\fR
+and \fB\-\-libs\fR options. This option must be specified before any of the
+other options.
.TP
-.B --version
+.B \-\-version
Prints the currently installed version of libcv on standard output.
.SH EXAMPLES
-.TP
-gcc -o main.o $(opencv-config --cflags) -c main.c
-is how you might use
-.B opencv-config
-to compile a C source file for an executable program.
-.TP
-gcc -o my_app $(opencv-config --libs) main.o util.o
-is how you might use
-.B opencv-config
+The following example:
+.IP
+.B gcc \-o main.o $(opencv-config \-\-cflags) \-c main.c
+.PP
+shows how you might use
+.B opencv\-config
+to compile a C source file for an executable program or:
+.IP
+.B gcc \-o my_app $(opencv\-config \-\-libs) main.o util.o
+.PP
+how you might use
+.B opencv\-config
to link compiled objects into an executable program.
.SH AUTHOR
-This manual page was written for sdl-config by Branden Robinson, originally
+This manual page was written for sdl\-config by Branden Robinson, originally
for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to
libcv by Sam Hocevar.
More information about the Pkg-scicomp-commits
mailing list