mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 09:10:04 +01:00
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:
parent
f533ef212e
commit
7cedd02b5d
1 changed files with 11 additions and 0 deletions
11
tools/publish-doc
Executable file
11
tools/publish-doc
Executable 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
|
||||
Loading…
Add table
Reference in a new issue