xref: /aosp_15_r20/external/libxml2/doc/Makefile.am (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1## Process this file with automake to produce Makefile.in
2SUBDIRS = . devhelp
3
4nobase_dist_doc_DATA = \
5	xmlcatalog.html \
6	xmllint.html
7
8dist_man_MANS = xml2-config.1 xmllint.1 xmlcatalog.1
9
10EXTRA_DIST = \
11	apibuild.py \
12	libxml2-api.xml \
13	xmlcatalog.xml \
14	xmllint.xml \
15	meson.build
16
17DOCBOOK_HTML = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
18
19rebuild:
20	cd $(srcdir) && ./apibuild.py
21	cd $(srcdir) && $(XSLTPROC) --nonet xmllint.xml
22	cd $(srcdir) && $(XSLTPROC) --nonet -o xmllint.html $(DOCBOOK_HTML) xmllint.xml
23	cd $(srcdir) && $(XSLTPROC) --nonet xmlcatalog.xml
24	cd $(srcdir) && $(XSLTPROC) --nonet -o xmlcatalog.html $(DOCBOOK_HTML) xmlcatalog.xml
25	cd devhelp && $(MAKE) rebuild
26	cd .. && $(MAKE) rebuild_testapi
27
28.PHONY: rebuild
29