summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 40e44d77bc6d5d89d30a1688246a62edbdbcbc39 (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
39
40
NULL =

SUBDIRS = xml

SPEC_XML_FILES =			\
	ConsoleKit.xml			\
	xml/ck-introduction.xml		\
	xml/ck-terms.xml		\
	xml/ck-design.xml		\
	xml/org.freedesktop.ConsoleKit.Manager.ref.xml \
	xml/org.freedesktop.ConsoleKit.Seat.ref.xml \
	xml/org.freedesktop.ConsoleKit.Session.ref.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