tools: add a script to push the doxygen output to freedesktop.org

Intentionally not added to EXTRA_DIST, if you're not running libinput from git
you're not supposed to push documentation.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-06-05 15:42:49 +10:00
parent f533ef212e
commit 7cedd02b5d

11
tools/publish-doc Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
[ -e doc ] || echo "Run this from the project root" && exit 1
make
[ -e doc/html ] || echo "HTML documentation failed to build" && exit 1
rsync --delete -avz doc/html/ freedesktop.org:/srv/wayland.freedesktop.org/www/libinput/doc/latest