ia64/xen-unstable

changeset 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 e939d5c5e646
files docs/Doxyfilter
line diff
     1.1 --- a/docs/Doxyfilter	Sun Sep 11 21:40:15 2005 +0100
     1.2 +++ b/docs/Doxyfilter	Tue Sep 13 14:41:05 2005 +0100
     1.3 @@ -1,12 +1,16 @@
     1.4  #!/bin/sh
     1.5  
     1.6 +#
     1.7 +# Doxyfilter <source-root> <filename>
     1.8 +#
     1.9 +
    1.10  dir=$(dirname "$0")
    1.11  
    1.12  PYFILTER="$dir/pythfilter.py"
    1.13  
    1.14 -if [ "${1/.py/}" != "$1" ]
    1.15 +if [ "${2/.py/}" != "$2" ]
    1.16  then
    1.17 -    python "$PYFILTER" -f "$1"
    1.18 +    python "$PYFILTER" -r "$1" -f "$2"
    1.19  else
    1.20 -    cat "$1"
    1.21 +    cat "$2"
    1.22  fi