diff options
Diffstat (limited to 'pkg-config.1')
-rw-r--r-- | pkg-config.1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkg-config.1 b/pkg-config.1 index 3ee869f..74bb70a 100644 --- a/pkg-config.1 +++ b/pkg-config.1 @@ -21,7 +21,7 @@ pkg-config \- Return metainformation about installed libraries [\-\-print-variables] [\-\-uninstalled] [\-\-exists] [\-\-atleast-version=VERSION] [\-\-exact-version=VERSION] -[\-\-max-version=VERSION] [\-\-list\-all] [\-\-print-provides] +[\-\-max-version=VERSION] [\-\-validate] [\-\-list\-all] [\-\-print-provides] [\-\-print-requires] [\-\-print-requires-private] [LIBRARIES...] .SH DESCRIPTION @@ -214,6 +214,18 @@ constraint after each package name, for example: Remember to use \-\-print-errors if you want error messages. When no output options are supplied to \fIpkg-config\fP, \-\-exists is implied. .TP +.I "--validate" +Checks the syntax of a package's +.I .pc +file for validity. This is the same as \-\-exists except that +dependencies are not verified. This can be useful for package developers +to test their +.I .pc +file prior to release: +.nf + $ pkg-config --validate ./my-package.pc +.fi +.TP .I "--msvc-syntax" This option is available only on Windows. It causes \fIpkg-config\fP to output -l and -L flags in the form recognized by the Microsoft |