|
root / base / usr / src / contrib / libxml2 / doc / Makefile.am
Makefile.am Makefile 29 lines 763 B
 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
## Process this file with automake to produce Makefile.in
SUBDIRS = . devhelp

nobase_dist_doc_DATA = \
	xmlcatalog.html \
	xmllint.html

dist_man_MANS = xml2-config.1 xmllint.1 xmlcatalog.1

EXTRA_DIST = \
	apibuild.py \
	libxml2-api.xml \
	xmlcatalog.xml \
	xmllint.xml \
	meson.build

DOCBOOK_HTML = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl

rebuild:
	cd $(srcdir) && ./apibuild.py
	cd $(srcdir) && $(XSLTPROC) --nonet xmllint.xml
	cd $(srcdir) && $(XSLTPROC) --nonet -o xmllint.html $(DOCBOOK_HTML) xmllint.xml
	cd $(srcdir) && $(XSLTPROC) --nonet xmlcatalog.xml
	cd $(srcdir) && $(XSLTPROC) --nonet -o xmlcatalog.html $(DOCBOOK_HTML) xmlcatalog.xml
	cd devhelp && $(MAKE) rebuild
	cd .. && $(MAKE) rebuild_testapi

.PHONY: rebuild