Bug 27376 - manpage errors
Summary: manpage errors
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 13:03 UTC by Dana Jansens
Modified: 2010-05-08 14:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.