doc_helper.sh 319 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#! /bin/sh

# Add <vlc_common.h> before most headers
# from old toolbox

# Clean env
LC_ALL=C
export LC_ALL
LANG=C
export LANG

if test "$1" = "" ; then
  exit 0
fi

##  Add includes to help doxygen
case "$1" in
  */vlc_common.h|*/include/vlc/*);;
  */include/*.h) echo "#include <vlc_common.h>" ;;
esac
cat $1
exit 0