From: Peter Hutterer Date: Thu, 5 Jun 2014 05:42:49 +0000 (+1000) Subject: tools: add a script to push the doxygen output to freedesktop.org X-Git-Tag: 0.4.0~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cedd02b5dbd2b23f126640307b95362d577cadf;p=platform%2Fupstream%2Flibinput.git 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 --- diff --git a/tools/publish-doc b/tools/publish-doc new file mode 100755 index 00000000..1e07e040 --- /dev/null +++ b/tools/publish-doc @@ -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