The libtracefs documentation building structure was gotten from libtraceevent. Some variables were not updated and the libtracefs name and version are not passed correctly. Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx> --- Documentation/Makefile | 6 +++--- Documentation/asciidoc.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 54526e2..badd80e 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -181,7 +181,7 @@ ifdef USE_ASCIIDOCTOR $(OUTPUT)%.3 : $(OUTPUT)%.txt $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \ $(ASCIIDOC) -b manpage -d manpage \ - $(ASCIIDOC_EXTRA) -alibtraceevent_version=$(EVENT_PARSE_VERSION) -o $@+ $< && \ + $(ASCIIDOC_EXTRA) -alibtracefs_version=$(TRACEFS_VERSION) -o $@+ $< && \ mv $@+ $@ endif @@ -192,11 +192,11 @@ $(OUTPUT)%.3 : $(OUTPUT)%.xml $(OUTPUT)%.xml : %.txt $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \ $(ASCIIDOC) -b docbook -d manpage \ - $(ASCIIDOC_EXTRA) -alibtraceevent_version=$(EVENT_PARSE_VERSION) -o $@+ $< && \ + $(ASCIIDOC_EXTRA) -alibtracefs_version=$(TRACEFS_VERSION) -o $@+ $< && \ mv $@+ $@ $(MAN_HTML): $(OUTPUT)%.html : %.txt $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \ $(ASCIIDOC) -b $(ASCIIDOC_HTML) -d manpage \ - $(ASCIIDOC_EXTRA) -aperf_version=$(EVENT_PARSE_VERSION) -o $@+ $< && \ + $(ASCIIDOC_EXTRA) -alibtracefs_version=$(TRACEFS_VERSION) -o $@+ $< && \ mv $@+ $@ diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index 0759571..c15aa13 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -74,9 +74,9 @@ template::[header-declarations] <refmeta> <refentrytitle>{mantitle}</refentrytitle> <manvolnum>{manvolnum}</manvolnum> -<refmiscinfo class="source">libtraceevent</refmiscinfo> -<refmiscinfo class="version">{libtraceevent_version}</refmiscinfo> -<refmiscinfo class="manual">libtraceevent Manual</refmiscinfo> +<refmiscinfo class="source">libtracefs</refmiscinfo> +<refmiscinfo class="version">{libtracefs_version}</refmiscinfo> +<refmiscinfo class="manual">libtracefs Manual</refmiscinfo> </refmeta> <refnamediv> <refname>{manname1}</refname> -- 2.29.2