From: Michael R Sweet cups-config - get cups api, compiler, directory, and link information (deprecated).
- cups-config
---api-version
- The cups-config 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.
-Note:
-This command is deprecated and will be removed in a future version of CUPS.
-The
-pkg-config(1)
-
-command should be used instead.
- The cups-config command accepts the following command-line options:
- --api-version --build --cflags --datadir --help --ldflags --libs --serverbin --serverroot --static --version Show the currently installed version of CUPS:
- Compile a simple one-file CUPS filter:
- The following options are deprecated but continue to work for backwards compatibility:
- --image cups(1),cups-config(1)
- Name
-Synopsis
-
-cups-config
---build
-
-cups-config
---cflags
-
-cups-config
---datadir
-
-cups-config
---help
-
-cups-config
---ldflags
-
-cups-config
-[
---image
-] [
---static
-]
---libs
-
-cups-config
---serverbin
-
-cups-config
---serverroot
-
-cups-config
---version
-
-Description
-Options
-
-Reports the current API version (major.minor).
-
-Reports a system-specific build number.
-
-Reports the necessary compiler options.
-
-Reports the default CUPS data directory.
-
-Reports the program usage message.
-
-Reports the necessary linker options.
-
-Reports the necessary libraries to link to.
-
-Reports the default CUPS binary directory, where filters and backends are stored.
-
-Reports the default CUPS configuration file directory.
-
-When used with --libs, reports the static libraries instead of the default (shared) libraries.
-
-Reports the full version number of the CUPS installation (major.minor.patch).
-Examples
-
- cups-config --version
-
-
-
- cc `cups-config --cflags --ldflags` -o filter filter.c \
- `cups-config --libs`
-
- Deprecated Options
-
-Formerly used to add the CUPS imaging library to the list of libraries.
-See Also
-
Copyright © 2020-2024 by OpenPrinting. - - diff --git a/man/Makefile b/man/Makefile index c06c26322d..83a0f6d5df 100644 --- a/man/Makefile +++ b/man/Makefile @@ -3,7 +3,7 @@ # # The "html" target depends on "mantohtml" from https://www.msweet.org/mantohtml # -# Copyright © 2020-2024 by OpenPrinting. +# Copyright © 2020-2025 by OpenPrinting. # Copyright © 2007-2019 by Apple Inc. # Copyright © 1993-2006 by Easy Software Products. # @@ -20,7 +20,6 @@ include ../Makedefs MAN1 = cancel.1 \ cups.1 \ - cups-config.1 \ cupstestppd.1 \ ippeveprinter.1 \ $(IPPFIND_MAN) \ diff --git a/man/cups-config.1 b/man/cups-config.1 deleted file mode 100644 index 018349c0a2..0000000000 --- a/man/cups-config.1 +++ /dev/null @@ -1,116 +0,0 @@ -.\" -.\" cups-config man page for CUPS. -.\" -.\" Copyright © 2020-2024 by OpenPrinting. -.\" Copyright © 2007-2019 by Apple Inc. -.\" Copyright © 1997-2006 by Easy Software Products. -.\" -.\" Licensed under Apache License v2.0. See the file "LICENSE" for more -.\" information. -.\" -.TH cups-config 1 "CUPS" "2021-03-10" "OpenPrinting" -.SH NAME -cups\-config \- get cups api, compiler, directory, and link information (deprecated). -.SH SYNOPSIS -.B cups\-config -.I \-\-api\-version -.br -.B cups\-config -.I \-\-build -.br -.B cups\-config -.I \-\-cflags -.br -.B cups\-config -.I \-\-datadir -.br -.B cups\-config -.I \-\-help -.br -.B cups\-config -.I \-\-ldflags -.br -.B cups\-config -[ -.I \-\-image -] [ -.I \-\-static -] -.I \-\-libs -.br -.B cups\-config -.I \-\-serverbin -.br -.B cups\-config -.I \-\-serverroot -.br -.B cups-config -.I \-\-version -.br -.SH DESCRIPTION -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. -All values are reported to the standard output. -.B Note: -This command is deprecated and will be removed in a future version of CUPS. -The -.BR pkg-config (1) -command should be used instead. -.SH OPTIONS -The \fBcups-config\fR command accepts the following command-line options: -.TP 5 -.B \-\-api-version -Reports the current API version (major.minor). -.TP 5 -.B \-\-build -Reports a system-specific build number. -.TP 5 -.B \-\-cflags -Reports the necessary compiler options. -.TP 5 -.B \-\-datadir -Reports the default CUPS data directory. -.TP 5 -.B \-\-help -Reports the program usage message. -.TP 5 -.B \-\-ldflags -Reports the necessary linker options. -.TP 5 -.B \-\-libs -Reports the necessary libraries to link to. -.TP 5 -.B \-\-serverbin -Reports the default CUPS binary directory, where filters and backends are stored. -.TP 5 -.B \-\-serverroot -Reports the default CUPS configuration file directory. -.TP 5 -.B \-\-static -When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries. -.TP 5 -.B \-\-version -Reports the full version number of the CUPS installation (major.minor.patch). -.SH EXAMPLES -Show the currently installed version of CUPS: -.nf - - cups-config \-\-version - -.fi -Compile a simple one-file CUPS filter: -.nf - - cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\ - `cups\-config \-\-libs` -.fi -.SH DEPRECATED OPTIONS -The following options are deprecated but continue to work for backwards compatibility: -.TP 5 -.B \-\-image -Formerly used to add the CUPS imaging library to the list of libraries. -.SH SEE ALSO -.BR cups (1), -.BR pkg-config (1), -CUPS Online Help (http://localhost:631/help) -.SH COPYRIGHT -Copyright \[co] 2020-2024 by OpenPrinting.