diff options
Diffstat (limited to 'doc/gen-tags.sh')
-rwxr-xr-x | doc/gen-tags.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/gen-tags.sh b/doc/gen-tags.sh new file mode 100755 index 0000000..aba6672 --- /dev/null +++ b/doc/gen-tags.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# +# Based on a script found on the englinemtn-devel mailinglist +# written by Carsten Haitzler <ras...@rasterman.com> +# + +echo '<libnltags>' +for f in api/group__*.html +do + bf=$(basename $f) + + grep -oE '<!-- doxytag.* -->' $f | + sed 's/<!-- doxytag:/<libnltag/' | + sed "s/-->/file=\"$bf\" \/>/" | + sed "s/ ref=\"/ href=\"$bf#/" | + sed 's/ member="\([^:]*::\)\([^"]*\)"/ member="\2"/' | + sed 's/ member="\([^"]*\)"/ short="\1"/' +done +echo '</libnltags>' |