/usr/share/cups/doc-root/help/man-cups-config.html is in cups-server-common 2.2.7-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | <!DOCTYPE HTML>
<html>
<!-- SECTION: Man Pages -->
<head>
<link rel="stylesheet" type="text/css" href="../cups-printable.css">
<title>cups-config(1)</title>
</head>
<body>
<h1 class="title">cups-config(1)</h1>
<h2 class="title"><a name="NAME">Name</a></h2>
cups-config - get cups api, compiler, directory, and link information.
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
<b>cups-config</b>
<i>--api-version</i>
<br>
<b>cups-config</b>
<i>--build</i>
<br>
<b>cups-config</b>
<i>--cflags</i>
<br>
<b>cups-config</b>
<i>--datadir</i>
<br>
<b>cups-config</b>
<i>--help</i>
<br>
<b>cups-config</b>
<i>--ldflags</i>
<br>
<b>cups-config</b>
[
<i>--image</i>
] [
<i>--static</i>
]
<i>--libs</i>
<br>
<b>cups-config</b>
<i>--serverbin</i>
<br>
<b>cups-config</b>
<i>--serverroot</i>
<br>
<b>cups-config</b>
<i>--version</i>
<br>
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
The <b>cups-config</b> 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.
All values are reported to the standard output.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
The <b>cups-config</b> command accepts the following command-line options:
<dl class="man">
<dt><b>--api-version</b>
<dd style="margin-left: 5.0em">Reports the current API version (major.minor).
<dt><b>--build</b>
<dd style="margin-left: 5.0em">Reports a system-specific build number.
<dt><b>--cflags</b>
<dd style="margin-left: 5.0em">Reports the necessary compiler options.
<dt><b>--datadir</b>
<dd style="margin-left: 5.0em">Reports the default CUPS data directory.
<dt><b>--help</b>
<dd style="margin-left: 5.0em">Reports the program usage message.
<dt><b>--image</b>
<dd style="margin-left: 5.0em">When used with <i>--libs</i>, adds the CUPS imaging library to the
list of libraries.
<dt><b>--ldflags</b>
<dd style="margin-left: 5.0em">Reports the necessary linker options.
<dt><b>--libs</b>
<dd style="margin-left: 5.0em">Reports the necessary libraries to link to.
<dt><b>--serverbin</b>
<dd style="margin-left: 5.0em">Reports the default CUPS binary directory, where filters and backends are stored.
<dt><b>--serverroot</b>
<dd style="margin-left: 5.0em">Reports the default CUPS configuration file directory.
<dt><b>--static</b>
<dd style="margin-left: 5.0em">When used with <i>--libs</i>, reports the static libraries instead of the default (shared) libraries.
<dt><b>--version</b>
<dd style="margin-left: 5.0em">Reports the full version number of the CUPS installation (major.minor.patch).
</dl>
<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
Show the currently installed version of CUPS:
<pre class="man">
cups-config --version
</pre>
Compile a simple one-file CUPS filter:
<pre class="man">
cc `cups-config --cflags --ldflags` -o filter filter.c \
`cups-config --libs`
</pre>
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
<a href="man-cups.html?TOPIC=Man+Pages"><b>cups</b>(1),</a>
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright © 2007-2017 by Apple Inc.
</body>
</html>
|