## Process this file with automake to produce Makefile.in

if MAINTAINER_MODE
# Export these so that we run the locally installed autotools when building
# from a bootstrapped git tree.
export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
endif

RSTDOCS = \
	cgiparams.rst\
	index.rst\
	omegascript.rst\
	overview.rst\
	quickstart.rst\
	scriptindex.rst\
	termprefixes.rst

RSTHTML = $(RSTDOCS:.rst=.html)

# Files which should be put in the distribution by automake
EXTRA_DIST = $(RSTDOCS)

if !MAINTAINER_NO_DOCS
dist_doc_DATA = $(RSTHTML)
endif

MAINTAINERCLEANFILES = $(RSTHTML)

if DOCUMENTATION_RULES
.rst.html:
	$(RST2HTML) --exit-status=warning $< $@
endif
