projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: move warning to end of output for the end user
[lttng-tools.git]
/
doc
/
man
/
Makefile.am
diff --git
a/doc/man/Makefile.am
b/doc/man/Makefile.am
index 22f569c5c0e5d5355fc10ec4e96421cb15bcba25..845e475dd4e82c0c73fccc2927a76da7bd7ec756 100644
(file)
--- a/
doc/man/Makefile.am
+++ b/
doc/man/Makefile.am
@@
-21,7
+21,6
@@
MAN1_NAMES = \
lttng-disable-channel \
lttng-add-context \
lttng-list \
lttng-disable-channel \
lttng-add-context \
lttng-list \
- lttng-calibrate \
lttng-track \
lttng-untrack \
lttng-status \
lttng-track \
lttng-untrack \
lttng-status \
@@
-30,7
+29,8
@@
MAN1_NAMES = \
lttng-enable-event \
lttng-disable-event \
lttng-crash \
lttng-enable-event \
lttng-disable-event \
lttng-crash \
- lttng-metadata
+ lttng-metadata \
+ lttng-regenerate
MAN3_NAMES =
MAN8_NAMES = lttng-sessiond lttng-relayd
MAN1_NO_ASCIIDOC_NAMES =
MAN3_NAMES =
MAN8_NAMES = lttng-sessiond lttng-relayd
MAN1_NO_ASCIIDOC_NAMES =
@@
-52,7
+52,8
@@
COMMON_TXT = \
$(srcdir)/common-cmd-help-options.txt
# config
$(srcdir)/common-cmd-help-options.txt
# config
-ASCIIDOC_CONF = $(builddir)/asciidoc.conf
+ASCIIDOC_CONF = $(srcdir)/asciidoc.conf
+ASCIIDOC_ATTRS_CONF = $(builddir)/asciidoc-attrs.conf
XSL_FILES = \
manpage.xsl \
manpage-callouts.xsl \
XSL_FILES = \
manpage.xsl \
manpage-callouts.xsl \
@@
-76,10
+77,15
@@
if MAN_PAGES_OPT
# at this point, we know the user asked to build the man pages
if HAVE_ASCIIDOC_XMLTO
# tools
# at this point, we know the user asked to build the man pages
if HAVE_ASCIIDOC_XMLTO
# tools
-ADOC = $(ASCIIDOC) -f $(ASCIIDOC_CONF) -d manpage
+ADOC = $(ASCIIDOC) -f $(ASCIIDOC_CONF) -
f $(ASCIIDOC_ATTRS_CONF) -
d manpage
ADOC_DOCBOOK = $(ADOC) -b docbook
XTO = $(XMLTO) -m $(firstword $(XSL_SRC_FILES)) man
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 $@ $<
# recipes
%.1.xml: $(srcdir)/%.1.txt $(COMMON_DEPS)
$(ADOC_DOCBOOK) -o $@ $<
@@
-140,4
+146,5
@@
dist-hook:
endif # !MAN_PAGES_OPT
# always distribute the source files
endif # !MAN_PAGES_OPT
# always distribute the source files
-EXTRA_DIST = $(MAN_TXT) $(COMMON_TXT) $(XSL_SRC_FILES) $(ASCIIDOC_CONF).in
+EXTRA_DIST = $(MAN_TXT) $(COMMON_TXT) $(XSL_SRC_FILES) \
+ $(ASCIIDOC_CONF) $(ASCIIDOC_ATTRS_CONF).in
This page took
0.025894 seconds
and
4
git commands to generate.