Skip to contentSkip to conversation

Substitute LIBDIR for file paths

PATCH In review Olaf Hering 2 participants 2 messages Feb 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Substitute LIBDIR for file paths

LIBDIR is already used earlier in this file, but such usage was apparently overlooked in commit 99d699e8eaf5ba49faf5ac55584e24357580df50.

---
 docs/spatch.1.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/spatch.1.in +2 -2
index e54150402..37975f330 100644
@@ -166,13 +166,13 @@ set number of diff context lines
 report partial matches of the SP on the C file
 .TP
 \fB\-\-iso\-file\fR
-<file> (default=/usr/local/lib/coccinelle/standard.iso)
+<file> (default=@LIBDIR@/standard.iso)
 .TP
 \fB\-\-macro\-file\fR
 <file>
 .TP
 \fB\-\-macro\-file\-builtins\fR
-<file> (default=/usr/local/lib/coccinelle/standard.h)
+<file> (default=@LIBDIR@/standard.h)
 .TP
 \fB\-\-recursive\-includes\fR
 causes all available include files, both those included in the C file(s) and those included in header files, to be used
#1 lore raw

Looks good. I just merged it, thanks for the patch!

Quoted 28 lines · Olaf Hering

LIBDIR is already used earlier in this file, but such usage was apparently overlooked in commit 99d699e8eaf5ba49faf5ac55584e24357580df50.

---
  docs/spatch.1.in | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
docs/spatch.1.in +2 -2
index e54150402..37975f330 100644
@@ -166,13 +166,13 @@ set number of diff context lines
  report partial matches of the SP on the C file
  .TP
  \fB\-\-iso\-file\fR
-<file> (default=/usr/local/lib/coccinelle/standard.iso)
+<file> (default=@LIBDIR@/standard.iso)
  .TP
  \fB\-\-macro\-file\fR
  <file>
  .TP
  \fB\-\-macro\-file\-builtins\fR
-<file> (default=/usr/local/lib/coccinelle/standard.h)
+<file> (default=@LIBDIR@/standard.h)
  .TP
  \fB\-\-recursive\-includes\fR
  causes all available include files, both those included in the C file(s) and those included in header files, to be used