summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 43802feb08254121473cd4d2a760960082ba80cd (plain)
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
38
NULL =

SPEC_XML_FILES =			\
	ConsoleKit.xml			\
	xml/ck-introduction.xml		\
	xml/ck-terms.xml		\
	xml/ck-design.xml		\
	xml/ref-ck-manager.xml		\
	xml/ref-ck-seat.xml		\
	xml/ref-ck-session.xml		\
	$(NULL)

if DOCBOOK_DOCS_ENABLED

htmldocdir = $(docdir)/spec
htmldoc_DATA = ConsoleKit.html

ConsoleKit.html : $(SPEC_XML_FILES)
	$(XMLTO) xhtml-nochunks -m config.xsl ConsoleKit.xml

endif # DOCBOOK_DOCS_ENABLED

EXTRA_DIST =				\
	ConsoleKit.xml.in		\
	config.xsl			\
	docbook.css			\
	$(SPEC_XML_FILES)
	$(NULL)


MAINTAINERCLEANFILES =		\
	*~			\
	Makefile.in		\
	$(NULL)

clean-local:
	rm -f *~
	rm -f ConsoleKit.html