This patch adds explicit grouped target rules to `doc/man/Makefile.am`
to handle the vtracef(3) and vtracelog(3) manual page generation
correctly.
This patch also adds `vtracef.3` and `vtracelog.3` to the list of files
to clean.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia91db414693f1d336933a347ada13cfd430a9e53
lttng-ust-dl \
lttng-ust-cyg-profile
+# Man page aliases (generated from other sources):
+MAN3_ALIASES = vtracef.3 vtracelog.3
+
# troff man pages:
MAN3_TROFF = do_tracepoint.3 tracepoint.3 tracepoint_enabled.3
# Man pages destinations:
MAN1 = $(addsuffix .1,$(MAN1_NAMES))
-MAN3 = $(addsuffix .3,$(MAN3_NAMES))
+MAN3 = $(addsuffix .3,$(MAN3_NAMES)) $(MAN3_ALIASES)
MAN = $(MAN1) $(MAN3)
if MAN_PAGES_OPT
%.3.xml: $(srcdir)/%.3.txt $(COMMON_DEPS)
$(ADOC_DOCBOOK) -o $@ $<
+tracef.3 vtracef.3 &: tracef.3.xml $(XSL_FILE)
+ $(XTO) $< 2>/dev/null
+
+tracelog.3 vtracelog.3 &: tracelog.3.xml $(XSL_FILE)
+ $(XTO) $< 2>/dev/null
+
%.3: %.3.xml $(XSL_FILE)
$(XTO) $< 2>/dev/null