Updated Esperanto translation
[banshee.git] / src / generate-dbus-docs
blob170650e114d81ce02fa59f4087711d1ed1ad518c
1 #!/bin/bash
3 files=$(grep -ERl '^[\t ]+\[Interface.*\("org.banshee' Core/* | grep -v .svn)
5 for file in $files; do
6 start_at=$(grep -En '^namespace {1}.*' $file | head -n1 | cut -f1 -d:)
7 echo "<h4><a href=\"http://svn.gnome.org/svn/banshee/trunk/banshee/src/$file\">$file</a></h4>"
8 echo "<pre>"
9 tail -n+$start_at < $file | tail -n+3 | head -n-1 | sed -r 's,^[ ]{4},,g'
10 echo "</pre>"
11 done