From fc6c27a7a09135166b79c594972b04c457b7f16c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 4 May 2011 17:05:20 +0200 Subject: abrt-cli: update manpage. Closes #243 Signed-off-by: Denys Vlasenko --- src/cli/Makefile.am | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/cli/Makefile.am') diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 18ff434e..7f46a152 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -41,8 +41,24 @@ abrt_handle_crashdump_CPPFLAGS = \ abrt_handle_crashdump_LDADD = \ ../lib/libreport.la -man_MANS = abrt-cli.1 -EXTRA_DIST = $(man_MANS) +MAN_TXT = \ + abrt-cli.txt + +# Manual pages are generated from .txt via Docbook +man1_MANS = ${MAN_TXT:%.txt=%.1} + +%.1 %.5 %.7: %.xml + xmlto man $< + +%.xml: %.txt ../../asciidoc.conf + asciidoc --backend=docbook --doctype=manpage --conf-file ../../asciidoc.conf -aabrt_version=$(PACKAGE_VERSION) -o $@ $< + +CLEANFILES = $(man1_MANS) + +PYTHON_FILES = \ + abrt-action-install-debuginfo.py \ + abrt-action-list-dsos.py \ + abrt-action-analyze-core.py completiondir = $(sysconfdir)/bash_completion.d dist_completion_DATA = abrt-cli.bash -- cgit