From 2f24816a0ecae3623600db4350b8352a6178b2b5 Mon Sep 17 00:00:00 2001 From: John Finlay Date: Thu, 6 Sep 2007 22:43:10 +0000 Subject: [PATCH] Remove DATADIR substitution since it now gets substituted as * docs/xsl/fixxref.py.in: Remove DATADIR substitution since it now gets substituted as ${prefix}/share which doesn't work in a Python script. svn path=/trunk/; revision=705 --- ChangeLog | 6 ++++++ docs/xsl/fixxref.py.in | 4 ---- 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 + + * 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 * 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*''', @@ -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()