summaryrefslogtreecommitdiffstats
path: root/idle-inhibit/Makefile
diff options
context:
space:
mode:
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/./