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
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
|
if HAVE_ASCIIDOC
|
||||||
ASCIIDOC_ARGS = \
|
ASCIIDOC_ARGS = \
|
||||||
-n \
|
-n \
|
||||||
-a toc \
|
-a toc \
|
||||||
-a icons
|
-a icons
|
||||||
|
|
||||||
|
dist_doc_DATA = \
|
||||||
|
manual.html
|
||||||
|
endif
|
||||||
|
|
||||||
|
if HAVE_A2X
|
||||||
A2X_ARGS = \
|
A2X_ARGS = \
|
||||||
-d manpage \
|
-d manpage \
|
||||||
-f manpage
|
-f manpage
|
||||||
|
|
||||||
dist_doc_DATA = \
|
|
||||||
manual.html
|
|
||||||
|
|
||||||
dist_man_MANS = \
|
dist_man_MANS = \
|
||||||
calcurse.1
|
calcurse.1
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
manual.txt \
|
manual.txt \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user