doc/Makefile.am: Fix "--without-asciidoc"

Do not try to distribute man page and manual files if documentation
generation is disabled.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-06-18 20:03:15 +00:00
parent 9c3a8a5a49
commit 6636232bc7

View File

@ -1,19 +1,23 @@
AUTOMAKE_OPTIONS = foreign
if HAVE_ASCIIDOC
ASCIIDOC_ARGS = \
-n \
-a toc \
-a icons
dist_doc_DATA = \
manual.html
endif
if HAVE_A2X
A2X_ARGS = \
-d manpage \
-f manpage
dist_doc_DATA = \
manual.html
dist_man_MANS = \
calcurse.1
endif
EXTRA_DIST = \
manual.txt \