diff options
Diffstat (limited to 'idle-inhibit/Makefile')
-rw-r--r-- | idle-inhibit/Makefile | 17 |
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/./ |