]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cups-config.man
Remove all of the Subversion keywords from various source files.
[thirdparty/cups.git] / man / cups-config.man
CommitLineData
ef416fc2 1.\"
7131e285 2.\" cups-config man page for CUPS.
ef416fc2 3.\"
7131e285
MS
4.\" Copyright 2007-2014 by Apple Inc.
5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
7131e285
MS
7.\" These coded instructions, statements, and computer programs are the
8.\" property of Apple Inc. and are protected by Federal copyright
9.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10.\" which should have been included with this file. If this file is
11.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 12.\"
7131e285 13.TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc."
ef416fc2 14.SH NAME
7131e285 15cups\-config \- get cups api, compiler, directory, and link information.
ef416fc2 16.SH SYNOPSIS
7131e285
MS
17.B cups\-config
18.I \-\-api\-version
ef416fc2 19.br
7131e285
MS
20.B cups\-config
21.I \-\-build
e4572d57 22.br
7131e285
MS
23.B cups\-config
24.I \-\-cflags
ef416fc2 25.br
7131e285
MS
26.B cups\-config
27.I \-\-datadir
ef416fc2 28.br
7131e285
MS
29.B cups\-config
30.I \-\-help
ef416fc2 31.br
7131e285
MS
32.B cups\-config
33.I \-\-ldflags
ef416fc2 34.br
7131e285 35.B cups\-config
ef416fc2 36[
7131e285 37.I \-\-image
ef416fc2 38] [
7131e285
MS
39.I \-\-static
40]
41.I \-\-libs
ef416fc2 42.br
7131e285
MS
43.B cups\-config
44.I \-\-serverbin
ef416fc2 45.br
7131e285
MS
46.B cups\-config
47.I \-\-serverroot
ef416fc2 48.br
49.B cups-config
7131e285 50.I \-\-version
ef416fc2 51.br
52.SH DESCRIPTION
7131e285
MS
53The \fBcups-config\fR command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers.
54All values are reported to the standard output.
bd7854cb 55.SH OPTIONS
7131e285 56The \fBcups-config\fR command accepts the following command-line options:
bd7854cb 57.TP 5
7131e285
MS
58.B \-\-api-version
59Reports the current API version (major.minor).
bd7854cb 60.TP 5
7131e285
MS
61.B \-\-build
62Reports a system-specific build number.
e4572d57 63.TP 5
7131e285
MS
64.B \-\-cflags
65Reports the necessary compiler options.
bd7854cb 66.TP 5
7131e285
MS
67.B \-\-datadir
68Reports the default CUPS data directory.
bd7854cb 69.TP 5
7131e285
MS
70.B \-\-help
71Reports the program usage message.
bd7854cb 72.TP 5
7131e285
MS
73.B \-\-image
74When used with \fI\-\-libs\fR, adds the CUPS imaging library to the
75list of libraries.
bd7854cb 76.TP 5
7131e285
MS
77.B \-\-ldflags
78Reports the necessary linker options.
bd7854cb 79.TP 5
7131e285
MS
80.B \-\-libs
81Reports the necessary libraries to link to.
bd7854cb 82.TP 5
7131e285
MS
83.B \-\-serverbin
84Reports the default CUPS binary directory, where filters and backends are stored.
bd7854cb 85.TP 5
7131e285
MS
86.B \-\-serverroot
87Reports the default CUPS configuration file directory.
bd7854cb 88.TP 5
7131e285
MS
89.B \-\-static
90When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
bd7854cb 91.TP 5
7131e285
MS
92.B \-\-version
93Reports the full version number of the CUPS installation (major.minor.patch).
94.SH EXAMPLES
95Show the currently installed version of CUPS:
96.nf
97
98 cups-config \-\-version
99
100.fi
101Compile a simple one-file CUPS filter:
102.nf
103
104 cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\
105 `cups\-config \-\-libs`
106.fi
ef416fc2 107.SH SEE ALSO
7131e285
MS
108.BR cups (1),
109CUPS Online Help (http://localhost:631/help)
ef416fc2 110.SH COPYRIGHT
fbfee7a8 111Copyright \[co] 2007-2015 by Apple Inc.