And fix up the tool to publish it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
devices, thus making direct access unnecessary.
Go here for the API documentation:
-http://whot.github.io/libevdev/
+http://www.freedesktop.org/software/libevdev/doc/latest/
File bugs in the freedesktop.org bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev
#!/bin/bash
-git checkout master
+set -e
+
make
-mv doc/html doc/publish
-git checkout gh-pages
-rm -rf doc/html
-mv doc/publish doc/html
-git add doc/html
-git commit -asm "Documentation update for `git log -n 1 --format="format:%h" master`"
-git checkout master
+rsync --delete -avz doc/html/ freedesktop.org:/srv/www.freedesktop.org/www/software/libevdev/doc/latest
+