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