]> git.notmuchmail.org Git - notmuch/blob - bindings/ruby/rdoc.sh
ruby: Add wrappers for query_get_s{ort,tring}
[notmuch] / bindings / ruby / rdoc.sh
1 #!/bin/sh
2 # vim: set sw=4 et sts=4 tw=80 :
3
4 # RDoc fails to document C extension split into many files.
5 # This is a hack to generate documentation properly.
6
7 rm -fr ruby
8 cat *.c > rdoc-sucks.c
9 rdoc --main 'Notmuch' --title 'Notmuch Ruby API' --op ruby rdoc-sucks.c
10 rm -f rdoc-sucks.c