autoolisation
[oh-my-god.git] / src / Makefile.am
1 DOCBOOK_MAIN = oh-my-god.xml
2
3 DOCBOOK_FILES = \
4         $(DOCBOOK_MAIN) \
5         mission-chan.xml \
6         $(NULL)
7
8 DOCBOOK_STYLESHEET = \
9         http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
10
11 EXTRA_DIST = $(DOCBOOK_FILES)
12
13 html-local:
14         $(XMLLINT) --noout --xinclude --postvalid --noent $(DOCBOOK_MAIN)
15         $(XSLTPROC) \
16                 --stringparam base.dir html/ \
17                 --stringparam use.id.as.filename 1 \
18                 --nonet \
19                 $(DOCBOOK_STYLESHEET) \
20                 $(DOCBOOK_MAIN)
21
22 clean-local:
23         -rm -rf html