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:
parent
9c3a8a5a49
commit
6636232bc7
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user