1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
TXTS = index.txt design.txt spec.txt multibyte.txt style.txt \
global-obj.txt release.txt
ASCIIDOC_HTMLS = \
index.html design.html spec.html multibyte.html style.html \
global-obj.html release.html
# Obsolete
#TXTS += gc-protection.txt test-c.txt
#ASCIIDOC_HTMLS += gc-protection.html test-c.html
EXTRA_DIST =
# Suppress installing documents on combined-source configuration
if USE_LIBSSCM
dist_doc_DATA = $(TXTS)
dist_html_DATA = $(ASCIIDOC_HTMLS)
endif
MAINTAINERCLEANFILES = $(ASCIIDOC_HTMLS)
.PHONY: clean-html
if MAINTAINER_MODE
# xhtml11 backend is supported from AsciiDoc 7.0.0
.txt.html:
if test -n "$(ASCIIDOC)"; then \
$(ASCIIDOC) -b xhtml11 -n -o $@ $<; \
fi
endif
html: $(ASCIIDOC_HTMLS)
clean-html:
rm -f $(ASCIIDOC_HTMLS)
dist-hook:
@test -n "$(ASCIIDOC)" \
|| (echo 'asciidoc(1) not found: install AsciiDoc'; exit 1)
|