libinput/tools/publish-doc
Peter Hutterer 7cedd02b5d 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>
2014-06-10 08:28:07 +10:00

11 lines
262 B
Bash
Executable file

#!/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