mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.
This commit is contained in:
1 parent
b7d4a69f0c
commit
7073778b38
1 file changed
+7
-3
+7
-3
@@ -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
|
||||