]> git.notmuchmail.org Git - notmuch/blob - bindings/ruby/rdoc.sh
Import notmuch_0.27.orig.tar.gz
[notmuch] / bindings / ruby / rdoc.sh
1 #!/bin/sh
2
3 if test -z "$RDOC"; then
4     RDOC=rdoc
5     if which rdoc19 >/dev/null 2>&1; then
6         RDOC=rdoc19
7     fi
8 fi
9
10 set -e
11 set -x
12
13 $RDOC --main 'Notmuch' --title 'Notmuch Ruby API' --op ruby *.c
14
15 if test "$1" = "--upload"; then
16     rsync -avze ssh --delete --partial --progress ruby bach.exherbo.org:public_html/notmuch/
17 fi