Bug 27376

Summary: manpage errors
Product: pkg-config Reporter: Dana Jansens <danakj>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dana Jansens 2010-03-30 13:03:27 UTC
The first example in "man pkg-config" is as follows:

Here is a typical usage scenario in a
       Makefile:

       program: program.c
            cc program.c ‘pkg-config --cflags --libs gnomeui‘

The quotes used are not back-quotes.  This is wrong and will certainly lead to confusion.

This is followed by the statement:

       pkg-config retrieves information about packages from  special  metadata
       files. These files are named after the package, with the extension .pc.
       By default, pkg-config looks in the directory prefix/lib/pkgconfig  for
       these  files;  

Note that it says "prefix/lib/pkgconfig", and prefix is underlined.  This should be the actually prefix it was installed to, and should have been replaced during the build process.
Comment 1 Dana Jansens 2010-03-30 13:05:35 UTC
Using $() instead of `` would be more clear, and hopefully not lead to unicode-versus-ascii backquotes confusion.
Comment 2 Tollef Fog Heen 2010-05-08 14:30:38 UTC
Fixed in git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.