tools: fix the publish-doc script

Original script was broken, curse those last-minute changes before pushing

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-06-13 14:43:28 +10:00
parent 2e289b2026
commit 6fa0c9aa97

View file

@ -2,10 +2,10 @@
set -e
[ -e doc ] || echo "Run this from the project root" && exit 1
[ -e doc ] || (echo "Run this from the project root" && exit 1)
make
[ -e doc/html ] || echo "HTML documentation failed to build" && exit 1
[ -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