summaryrefslogtreecommitdiffstats
path: root/idle-inhibit/Makefile
blob: d830986734ab558a3e95676026962b85407ae7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SPEC = org.freedesktop.ScreenSaver.xml

all: html/index.html

html/index.html: reference.xml docbook-params.xsl specification.xml
	xmlto --skip-validation -o html/ -x docbook-params.xsl xhtml specification.xml

reference.xml: tools/spec-to-docbook.xsl $(SPEC)
	xsltproc tools/spec-to-docbook.xsl $(SPEC) > $@

clean:
	rm -f reference.xml
	rm -f html/*.html

upload: all
	rsync -Hvax html/./ specs.freedesktop.org:/srv/specifications.freedesktop.org/www/idle-inhibit-spec/latest/