about summary refs log tree commit diff
path: root/doc/manual/Makefile
blob: 52f17c65aa7949eb4d32576e206c9aa3a5f6ae69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
DOCBOOK_DTD = /nix/current/xml/dtd/docbook
DOCBOOK_XSL = /nix/current/xml/xsl/docbook

all: check html

check:
	SP_CHARSET_FIXED=YES SP_ENCODING=XML \
	nsgmls -wxml -c /usr/share/doc/packages/sp/html-xml/xml.soc -c $(DOCBOOK_DTD)/docbook.cat -ges book.xml

html:
	xsltproc --output book.html $(DOCBOOK_XSL)/html/docbook.xsl book.xml