ia64/xen-unstable

annotate docs/Doxyfilter @ 6787:bcbd2d2c1068

Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.
author ewan@linford.intra
date Tue Sep 13 14:41:05 2005 +0100 (2005-09-13)
parents 64d6de1ea743
children 4d899a738d59 e7c7196fa329
rev   line source
ewan@6786 1 #!/bin/sh
ewan@6786 2
ewan@6787 3 #
ewan@6787 4 # Doxyfilter <source-root> <filename>
ewan@6787 5 #
ewan@6787 6
ewan@6786 7 dir=$(dirname "$0")
ewan@6786 8
ewan@6786 9 PYFILTER="$dir/pythfilter.py"
ewan@6786 10
ewan@6787 11 if [ "${2/.py/}" != "$2" ]
ewan@6786 12 then
ewan@6787 13 python "$PYFILTER" -r "$1" -f "$2"
ewan@6786 14 else
ewan@6787 15 cat "$2"
ewan@6786 16 fi