]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cups-config.man
Fix 'it not'/'is not' typo in client.conf.man manpage
[thirdparty/cups.git] / man / cups-config.man
1 .\"
2 .\" cups-config man page for CUPS.
3 .\"
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
6 .\"
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/".
12 .\"
13 .TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc."
14 .SH NAME
15 cups\-config \- get cups api, compiler, directory, and link information.
16 .SH SYNOPSIS
17 .B cups\-config
18 .I \-\-api\-version
19 .br
20 .B cups\-config
21 .I \-\-build
22 .br
23 .B cups\-config
24 .I \-\-cflags
25 .br
26 .B cups\-config
27 .I \-\-datadir
28 .br
29 .B cups\-config
30 .I \-\-help
31 .br
32 .B cups\-config
33 .I \-\-ldflags
34 .br
35 .B cups\-config
36 [
37 .I \-\-image
38 ] [
39 .I \-\-static
40 ]
41 .I \-\-libs
42 .br
43 .B cups\-config
44 .I \-\-serverbin
45 .br
46 .B cups\-config
47 .I \-\-serverroot
48 .br
49 .B cups-config
50 .I \-\-version
51 .br
52 .SH DESCRIPTION
53 The \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.
54 All values are reported to the standard output.
55 .SH OPTIONS
56 The \fBcups-config\fR command accepts the following command-line options:
57 .TP 5
58 .B \-\-api-version
59 Reports the current API version (major.minor).
60 .TP 5
61 .B \-\-build
62 Reports a system-specific build number.
63 .TP 5
64 .B \-\-cflags
65 Reports the necessary compiler options.
66 .TP 5
67 .B \-\-datadir
68 Reports the default CUPS data directory.
69 .TP 5
70 .B \-\-help
71 Reports the program usage message.
72 .TP 5
73 .B \-\-image
74 When used with \fI\-\-libs\fR, adds the CUPS imaging library to the
75 list of libraries.
76 .TP 5
77 .B \-\-ldflags
78 Reports the necessary linker options.
79 .TP 5
80 .B \-\-libs
81 Reports the necessary libraries to link to.
82 .TP 5
83 .B \-\-serverbin
84 Reports the default CUPS binary directory, where filters and backends are stored.
85 .TP 5
86 .B \-\-serverroot
87 Reports the default CUPS configuration file directory.
88 .TP 5
89 .B \-\-static
90 When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
91 .TP 5
92 .B \-\-version
93 Reports the full version number of the CUPS installation (major.minor.patch).
94 .SH EXAMPLES
95 Show the currently installed version of CUPS:
96 .nf
97
98 cups-config \-\-version
99
100 .fi
101 Compile 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
107 .SH SEE ALSO
108 .BR cups (1),
109 CUPS Online Help (http://localhost:631/help)
110 .SH COPYRIGHT
111 Copyright \[co] 2007-2016 by Apple Inc.