1devhelpdir = $(datadir)/gtk-doc/html/libxml2
2
3dist_devhelp_DATA =			\
4	libxml2.devhelp			\
5	$(HTML_FILES)			\
6	$(EXTRA_FORMAT)
7
8HTML_FILES =				\
9	general.html			\
10	index.html			\
11	$(HTML_MODULES)
12
13HTML_MODULES=				\
14	libxml2-c14n.html		\
15	libxml2-catalog.html		\
16	libxml2-chvalid.html		\
17	libxml2-debugXML.html		\
18	libxml2-dict.html		\
19	libxml2-DOCBparser.html		\
20	libxml2-encoding.html		\
21	libxml2-entities.html		\
22	libxml2-globals.html		\
23	libxml2-hash.html		\
24	libxml2-HTMLparser.html		\
25	libxml2-HTMLtree.html		\
26	libxml2-list.html		\
27	libxml2-nanoftp.html		\
28	libxml2-nanohttp.html		\
29	libxml2-parser.html		\
30	libxml2-parserInternals.html	\
31	libxml2-pattern.html		\
32	libxml2-relaxng.html		\
33	libxml2-SAX2.html		\
34	libxml2-SAX.html		\
35	libxml2-schemasInternals.html	\
36	libxml2-schematron.html		\
37	libxml2-threads.html		\
38	libxml2-tree.html		\
39	libxml2-uri.html		\
40	libxml2-valid.html		\
41	libxml2-xinclude.html		\
42	libxml2-xlink.html		\
43	libxml2-xmlautomata.html	\
44	libxml2-xmlerror.html		\
45	libxml2-xmlexports.html		\
46	libxml2-xmlIO.html		\
47	libxml2-xmlmemory.html		\
48	libxml2-xmlmodule.html		\
49	libxml2-xmlreader.html		\
50	libxml2-xmlregexp.html		\
51	libxml2-xmlsave.html		\
52	libxml2-xmlschemas.html		\
53	libxml2-xmlschemastypes.html	\
54	libxml2-xmlstring.html		\
55	libxml2-xmlunicode.html		\
56	libxml2-xmlversion.html		\
57	libxml2-xmlwriter.html		\
58	libxml2-xpath.html		\
59	libxml2-xpathInternals.html	\
60	libxml2-xpointer.html
61
62EXTRA_FORMAT=				\
63	home.png			\
64	left.png			\
65	right.png			\
66	up.png				\
67	style.css
68
69EXTRA_DIST = devhelp.xsl html.xsl
70
71if REBUILD_DOCS
72rebuild: libxml2.devhelp $(HTML_FILES)
73.PHONY: rebuild
74
75libxml2.devhelp $(HTML_FILES): devhelp.xsl html.xsl $(top_srcdir)/doc/libxml2-api.xml
76	-@(if [ -x $(XSLTPROC) ] ; then \
77	  echo Rebuilding devhelp files ; \
78	  $(XSLTPROC) --nonet -o $(srcdir)/libxml2.devhelp $(srcdir)/devhelp.xsl $(top_srcdir)/doc/libxml2-api.xml ; fi );
79endif
80