man: Put valid make syntax in the example

Use backquotes for substitution in the Makefile example as using the $()
form of command substitution would actually use make's variable
substitution and fail. Thanks to joerg.strebel@gmail.com for the report.

https://bugs.freedesktop.org/show_bug.cgi?id=98011
This commit is contained in:
Dan Nicholson 2017-03-19 12:40:43 -05:00
parent 3b96e7434c
commit 7f4afa0214

View file

@ -32,7 +32,7 @@ scenario in a Makefile:
.PP
.nf
program: program.c
cc program.c $(pkg-config --cflags --libs gnomeui)
cc program.c `pkg-config --cflags --libs gnomeui`
.fi
.PP
.I pkg-config