yate/kdoc-filter.sh

8 lines
155 B
Bash
Executable File

#!/bin/sh
# Filter the Yate header files so they can be parsed by kdoc
filter='s/FORMAT_CHECK(.*)//; s/[A-Z]*_API//'
test -f "$2" && sed "$filter" "$2"