diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-05-04 17:05:20 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-05-04 17:05:20 +0200 |
commit | fc6c27a7a09135166b79c594972b04c457b7f16c (patch) | |
tree | ad14b975abcd9af10de1538d2792552fd8ff581d /src/cli/Makefile.am | |
parent | 17e63b2a00006e2215e9e4c58d0fed51e003b06a (diff) | |
download | abrt-fc6c27a7a09135166b79c594972b04c457b7f16c.tar.gz abrt-fc6c27a7a09135166b79c594972b04c457b7f16c.tar.xz abrt-fc6c27a7a09135166b79c594972b04c457b7f16c.zip |
abrt-cli: update manpage. Closes #243
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli/Makefile.am')
-rw-r--r-- | src/cli/Makefile.am | 20 |
1 files changed, 18 insertions, 2 deletions
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 |