Subject: [PATCH 45/60] perf doc: allow ASCIIDOC_EXTRA to be an argument

From: Arnaldo Carvalho de Melo <[email-masked]>
Date: Mon, 20 Apr 2020 08:53:01 -0300

From: Ian Rogers <[email-masked]>

This will allow parent makefiles to pass values to asciidoc.

Signed-off-by: Ian Rogers <[email-masked]>
Cc: Adrian Hunter <[email-masked]>
Cc: Alexander Shishkin <[email-masked]>
Cc: Alexei Starovoitov <[email-masked]>
Cc: Alexey Budankov <[email-masked]>
Cc: Andi Kleen <[email-masked]>
Cc: Andrii Nakryiko <[email-masked]>
Cc: Daniel Borkmann <[email-masked]>
Cc: Florian Fainelli <[email-masked]>
Cc: Greg Kroah-Hartman <[email-masked]>
Cc: Igor Lubashev <[email-masked]>
Cc: Jin Yao <[email-masked]>
Cc: Jiri Olsa <[email-masked]>
Cc: Jiwei Sun <[email-masked]>
Cc: John Garry <[email-masked]>
Cc: Kan Liang <[email-masked]>
Cc: Leo Yan <[email-masked]>
Cc: Mark Rutland <[email-masked]>
Cc: Martin KaFai Lau <[email-masked]>
Cc: Namhyung Kim <[email-masked]>
Cc: Peter Zijlstra <[email-masked]>
Cc: Stephane Eranian <[email-masked]>
Cc: Thomas Gleixner <[email-masked]>
Cc: Yonghong Song <[email-masked]>
Cc: [email-masked]
Cc: [email-masked]
Cc: yuzhoujian <[email-masked]>
Link: http://lore.kernel.org/lkml/[email-masked]
Signed-off-by: Arnaldo Carvalho de Melo <[email-masked]>
---
 tools/perf/Documentation/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile
index 31824d5269cc..6e54979c2124 100644
--- a/tools/perf/Documentation/Makefile
+++ b/tools/perf/Documentation/Makefile
@@ -48,7 +48,7 @@ man5dir=$(mandir)/man5
 man7dir=$(mandir)/man7
 
 ASCIIDOC=asciidoc
-ASCIIDOC_EXTRA = --unsafe -f asciidoc.conf
+ASCIIDOC_EXTRA += --unsafe -f asciidoc.conf
 ASCIIDOC_HTML = xhtml11
 MANPAGE_XSL = manpage-normal.xsl
 XMLTO_EXTRA =
@@ -59,7 +59,7 @@ HTML_REF = origin/html
 
 ifdef USE_ASCIIDOCTOR
 ASCIIDOC = asciidoctor
-ASCIIDOC_EXTRA = -a compat-mode
+ASCIIDOC_EXTRA += -a compat-mode
 ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
 ASCIIDOC_EXTRA += -a mansource="perf" -a manmanual="perf Manual"
 ASCIIDOC_HTML = xhtml5
-- 
2.21.1