summaryrefslogtreecommitdiff
path: root/doc/spec/Makefile.am
blob: 52adef460af7895de8ae215fa1065a075c2be638 (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

if DOCBOOK_DOCS_ENABLED

FIGURE_FILES =                        	\
	hal-arch.png                  	\
	hal-devices1.png              	\
	hal-fdi-example1.png      	\
	hal-fdi-example2.png      	\
	hal-fdi-example3.png      	\
	hal-linux26.png	


htmldocdir = $(datadir)/doc/hal-$(VERSION)/spec
htmldoc_DATA = hal-spec.html $(FIGURE_FILES)

hal-spec.html : hal-spec.xml $(FIGURE_FILES)
	$(DOCBOOK) --nochunks hal-spec.xml -o .

EXTRA_DIST = hal-spec.html       \
	     hal-spec.xml.in     \
	     example-manager.py	 \
	     hal-arch.dia	 \
	     hal-linux26.dia     \
	     $(FIGURE_FILES)

clean-local:
	rm -f *~
	rm -f hal-spec.html hal-spec.xml


endif # DOCBOOK_DOCS_ENABLED