X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2FMakefile.am;fp=doc%2Fman%2FMakefile.am;h=845e475dd4e82c0c73fccc2927a76da7bd7ec756;hp=9c7f125d00e08ff3a195186b275cddb370fab3c4;hb=fd3e1238cb0c3ad075e0f4f3c5f106145a0a6057;hpb=95cdb5e344f39d72a13a60e50697db5fc47c9255 diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 9c7f125d0..845e475dd 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -62,7 +62,7 @@ XSL_FILES = \ XSL_SRC_FILES = $(addprefix $(srcdir)/xsl/,$(XSL_FILES)) # common dependencies -COMMON_DEPS = $(ASCIIDOC_CONF) $(COMMON_TXT) $(ASCIIDOC_ATTRS_CONF) +COMMON_DEPS = $(ASCIIDOC_CONF) $(COMMON_TXT) # man pages destinations MAN1 = $(addsuffix .1,$(MAN1_NAMES)) @@ -81,6 +81,11 @@ ADOC = $(ASCIIDOC) -f $(ASCIIDOC_CONF) -f $(ASCIIDOC_ATTRS_CONF) -d manpage ADOC_DOCBOOK = $(ADOC) -b docbook XTO = $(XMLTO) -m $(firstword $(XSL_SRC_FILES)) man +# only add this dependency if we can build the man pages because it's +# a file generated by the configure script, so it's more recent than +# the pregenerated man pages in a tarball +COMMON_DEPS += $(ASCIIDOC_ATTRS_CONF) + # recipes %.1.xml: $(srcdir)/%.1.txt $(COMMON_DEPS) $(ADOC_DOCBOOK) -o $@ $<