X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fman%2FMakefile.am;h=1d838e2ba0961a9458012344fec93f7a551c4e4e;hb=e50eabc64fa339ca9794a3787a151de55ced8bf2;hp=1090f1ac11a910904c91129c197af7f8bbcc3310;hpb=cdd06d47a484ff6e6c0b4b98f305175dd032c9b5;p=lttng-tools.git diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 1090f1ac1..1d838e2ba 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -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 $@ $<