yate/kdoc-filter.sh
paulc ad7f82e9f3 API docs can be built with doxygen. Also cleaned headers to generate
proper documentation.


git-svn-id: http://voip.null.ro/svn/yate@845 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-08 18:31:00 +00:00

19 lines
313 B
Bash
Executable file

#!/bin/sh
# Filter the Yate header files so they can be parsed by kdoc or doxygen
if [ -n "$2" -a -f "$2" ]; then
f="$2"
else
if [ -n "$1" -a -f "$1" ]; then
f="$1"
else
echo "Could not find file to process" >&2
exit 1
fi
fi
filter='s/FORMAT_CHECK(.*)//; s/[A-Z]*_API//'
sed "$filter" "$f"