aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Doxyfilter
diff options
context:
space:
mode:
authorewan@linford.intra <ewan@linford.intra>2005-09-13 14:41:05 +0100
committerewan@linford.intra <ewan@linford.intra>2005-09-13 14:41:05 +0100
commit7073778b3832435250f5977796d2e4a6a2e2d6b5 (patch)
tree431834dface64cf6c438cfa9e98a450d13e67799 /docs/Doxyfilter
parentb7d4a69f0ccb5b6035d5b567694bf2c2dc5983c4 (diff)
downloadxen-7073778b3832435250f5977796d2e4a6a2e2d6b5.tar.gz
xen-7073778b3832435250f5977796d2e4a6a2e2d6b5.tar.bz2
xen-7073778b3832435250f5977796d2e4a6a2e2d6b5.zip
Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.
Diffstat (limited to 'docs/Doxyfilter')
-rw-r--r--docs/Doxyfilter10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/Doxyfilter b/docs/Doxyfilter
index a5c413bb44..6a6d50f734 100644
--- a/docs/Doxyfilter
+++ b/docs/Doxyfilter
@@ -1,12 +1,16 @@
#!/bin/sh
+#
+# Doxyfilter <source-root> <filename>
+#
+
dir=$(dirname "$0")
PYFILTER="$dir/pythfilter.py"
-if [ "${1/.py/}" != "$1" ]
+if [ "${2/.py/}" != "$2" ]
then
- python "$PYFILTER" -f "$1"
+ python "$PYFILTER" -r "$1" -f "$2"
else
- cat "$1"
+ cat "$2"
fi