summaryrefslogtreecommitdiffstats
path: root/idle-inhibit/Makefile
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-12-07 16:42:54 +0100
committerOwen W. Taylor <otaylor@fishsoup.net>2013-02-12 12:03:46 -0500
commit806462d8f6c3a2c0fac3488e94763e46ecef896c (patch)
treee9b2ac840a97b50bed212132b894f04be74106fa /idle-inhibit/Makefile
parent77da08959a92a9873794ca0242d0a3ffea33befc (diff)
downloadxdg-specs-806462d8f6c3a2c0fac3488e94763e46ecef896c.tar.xz
Add idle-inhibit D-Bus service spec
Diffstat (limited to 'idle-inhibit/Makefile')
-rw-r--r--idle-inhibit/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/idle-inhibit/Makefile b/idle-inhibit/Makefile
new file mode 100644
index 0000000..8c651ba
--- /dev/null
+++ b/idle-inhibit/Makefile
@@ -0,0 +1,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/./