summaryrefslogtreecommitdiffstats
path: root/idle-inhibit/Makefile
blob: 8c651baf44824fbb830b7adbc66bc536b8c97699 (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-inhibition-service/./