Просмотр исходного кода

* Mention caca-config being deprecated in its manpage, and removed mention

of --plugin-libs from it. The option is still here but does the same as
    --libs.
tags/v0.99.beta14
Sam Hocevar sam 18 лет назад
Родитель
Сommit
b0a9948f5e
1 измененных файлов: 17 добавлений и 24 удалений
  1. +17
    -24
      doc/caca-config.1

+ 17
- 24
doc/caca-config.1 Просмотреть файл

@@ -7,12 +7,18 @@ caca-config \- script to get information about the installed version of libcaca
.IR DIR ] .IR DIR ]
[ --exec-prefix= [ --exec-prefix=
.IR DIR ] .IR DIR ]
[ --version ] [ --libs | --plugin-libs ] [ --cflags ] [ --version ] [ --libs ] [ --cflags ]
.SH DESCRIPTION .SH DESCRIPTION
.B caca-config .B caca-config
is a tool that is used to configure and determine the compiler and linker 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 progams, libraries, and
plugins that use libcaca. plugins that use libcaca.

The use of
.B caca-config
is deprecated. The more generic tool
.B pkg-config
should be used instead.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B --cflags .B --cflags
@@ -23,29 +29,19 @@ that uses libcaca.
If specified, use If specified, use
.I DIR .I DIR
instead of the installation exec prefix that libcaca was build with when instead of the installation exec prefix that libcaca was build with when
computing the output for the --cflags, --libs, and --plugin-libs options. computing the output for the --cflags and --libs options.
This option must be specified before any of the --cflags, --libs, and This option must be specified before any of the --cflags and --libs options.
--plugin-libs options.
.TP .TP
.B --libs .B --libs
Print the linker flags that are necessary to link a program that uses Print the linker flags that are necessary to link a program or library
libcaca. that uses libcaca.
.TP
.B --plugin-libs
Print the linker flags that are necessary to link a libcaca-using object that
is to be accessed via
.IR dlopen (3).
This may include static objects with PIC symbol information. This option
should
.B not
be used for standalone applications.
.TP .TP
.BI --prefix= DIR .BI --prefix= DIR
If specified, use PREFIX instead of the installation prefix that libcaca If specified, use PREFIX instead of the installation prefix that libcaca
was built with when computing the output for the --cflags, --libs, was built with when computing the output for the --cflags and --libs
and --plugin-libs options. This option is also used for the exec prefix options. This option is also used for the exec prefix if --exec-prefix
if --exec-prefix was not specified. This option must be specified before was not specified. This option must be specified before any of the --cflags
any of the --cflags, --libs, and --plugin-libs options. and --libs options.
.TP .TP
.B --version .B --version
Prints the currently installed version of libcaca on standard output. Prints the currently installed version of libcaca on standard output.
@@ -60,11 +56,8 @@ gcc -o my_app $(caca-config --libs) main.o util.o
is how you might use is how you might use
.B caca-config .B caca-config
to link compiled objects into an executable program. to link compiled objects into an executable program.
.TP .SH SEE ALSO
gcc -o libcaca_plugin.so $(caca-config --plugin-libs) caca_plugin.o stubs.o pkg-config(1)
is how you might use
.B caca-config
to link compiled objects into a plugin for use by another program.
.SH AUTHOR .SH AUTHOR
The libcaca library was written by Sam Hocevar <sam@zoy.org>. The libcaca library was written by Sam Hocevar <sam@zoy.org>.
.PP .PP


||||||
x
 
000:0
Загрузка…
Отмена
Сохранить