summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2017-03-19 12:40:43 -0500
committerDan Nicholson <dbn.lists@gmail.com>2017-03-19 12:47:50 -0500
commit7f4afa0214d93574b3b3609086b03f0c94b9c5ea (patch)
treea9b8a18f55804b86c0aec93b589ed6c35676ed01
parent3b96e7434c6d3b86443782efde053fb2ae2f7fba (diff)
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
-rw-r--r--pkg-config.12
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg-config.1 b/pkg-config.1
index a06904a..241da03 100644
--- a/pkg-config.1
+++ b/pkg-config.1
@@ -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