summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--docs/xsl/fixxref.py.in4
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 39037d7..c0aa149 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-06 John Finlay <finlay@moeraki.com>
+
+ * docs/xsl/fixxref.py.in: Remove DATADIR substitution since it now
+ gets substituted as ${prefix}/share which doesn't work in a Python
+ script.
+
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* gobject/propertyhelper.py (property.__metaclass__.__repr__): Avoid
diff --git a/docs/xsl/fixxref.py.in b/docs/xsl/fixxref.py.in
index b381183..f3287b3 100644
--- a/docs/xsl/fixxref.py.in
+++ b/docs/xsl/fixxref.py.in
@@ -6,8 +6,6 @@ import os
import re
import sys
-DOCDIR = '@DATADIR@/gtk-doc/html/pygobject'
-
anchors = {}
anchor_pat = re.compile(r'''^\s*<ANCHOR\s+id\s*=\s*"([^"]*)"\s+
href\s*=\s*"([^"]*)"\s*>''',
@@ -59,8 +57,6 @@ if __name__ == '__main__':
if opt in ('-i', '--index-dir'):
index_dirs.append(arg)
- index_dirs.append(DOCDIR)
-
if len(args) != 1:
usage()