perf doc: Remove howto-index.sh related references.
authorIan Rogers <irogers@google.com>
Thu, 15 Jul 2021 01:33:42 +0000 (18:33 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Aug 2021 12:56:18 +0000 (09:56 -0300)
howto-index.sh exists in git but not in perf, as such targets that
depend upon it fail. Remove such failing targets.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https //lore.kernel.org/r/20210715013343.2286699-7-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/Makefile

index c5ec17e..9d991b1 100644 (file)
@@ -242,8 +242,7 @@ CLEAN_FILES =                                                                       \
        $(MAN_HTML) $(addsuffix +,$(MAN_HTML))                                  \
        $(DOC_HTML) $(DOC_MAN1) $(DOC_MAN5) $(DOC_MAN7)                         \
        $(OUTPUT)*.texi $(OUTPUT)*.texi+ $(OUTPUT)*.texi++                      \
-       $(OUTPUT)perf.info $(OUTPUT)perfman.info                                \
-       $(OUTPUT)howto-index.txt $(OUTPUT)howto/*.html $(OUTPUT)doc.dep         \
+       $(OUTPUT)perf.info $(OUTPUT)perfman.info $(OUTPUT)doc.dep               \
        $(OUTPUT)technical/api-*.html $(OUTPUT)technical/api-index.txt
 clean:
        $(call QUIET_CLEAN, Documentation) $(RM) $(CLEAN_FILES)
@@ -294,21 +293,11 @@ $(patsubst %.txt,%.texi,$(MAN_TXT)): %.texi : %.xml
        $(DOCBOOK2X_TEXI) --to-stdout $*.xml >$@+ && \
        mv $@+ $@
 
-howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
-       $(QUIET_GEN)$(RM) $@+ $@ && \
-       '$(SHELL_PATH_SQ)' ./howto-index.sh $(wildcard howto/*.txt) >$@+ && \
-       mv $@+ $@
-
 $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
        $(QUIET_ASCIIDOC)$(ASCIIDOC) -b $(ASCIIDOC_HTML) $*.txt
 
 WEBDOC_DEST = /pub/software/tools/perf/docs
 
-$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
-       $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
-       sed -e '1,/^$$/d' $< | $(ASCIIDOC) -b $(ASCIIDOC_HTML) - >$@+ && \
-       mv $@+ $@
-
 # UNIMPLEMENTED
 #install-webdoc : html
 #      '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(WEBDOC_DEST)