automake: fix asciidoc DATA includes for make

fixes #3635
This commit is contained in:
Michael Friedrich 2013-02-07 19:57:23 +01:00
parent 0de681be5d
commit 021ca76642
1 changed files with 9 additions and 5 deletions

View File

@ -1,14 +1,10 @@
.PHONY: clean
EXTRA_DIST = \
icinga2-config.txt \
icinga2-intro.txt \
icinga2.8
icinga2docdir = ${docdir}
icinga2doc_DATA = \
icinga2-config.html \
icinga2-intro.html
icinga2doc_DATA =
man1_MANS = \
icinga2.8
@ -16,6 +12,14 @@ man1_MANS = \
.SUFFIXES = .html .txt
if AD_COND_doc
EXTRA_DIST += \
icinga2-config.txt \
icinga2-intro.txt
icinga2doc_DATA += \
icinga2-config.html \
icinga2-intro.html
.txt.html:
$(AD_ENV) $(AD_ASCIIDOC) -a toc -a numbered $<
endif AD_COND_doc