gobject-introspection r464 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r464 - in trunk: . giscanner
- Date: Fri, 22 Aug 2008 21:48:23 +0000 (UTC)
Author: johan
Date: Fri Aug 22 21:48:23 2008
New Revision: 464
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=464&view=rev
Log:
2008-08-22 Johan Dahlin <johan gnome org>
* giscanner/sourcescanner.py:
Check for ../gobject-introspection-1.0.pc.in to determine
if we run installed or uninstalled.
Modified:
trunk/ChangeLog
trunk/giscanner/sourcescanner.py
Modified: trunk/giscanner/sourcescanner.py
==============================================================================
--- trunk/giscanner/sourcescanner.py (original)
+++ trunk/giscanner/sourcescanner.py Fri Aug 22 21:48:23 2008
@@ -236,8 +236,10 @@
defines.append('__G_LIBCONFIG_H__')
dirname = os.path.dirname(os.path.abspath(__file__))
- includedir = os.path.join(dirname, '..', 'giscanner')
- if not os.path.exists(includedir):
+ if os.path.exists(
+ os.path.join(dirname, '..', 'gobject-introspection-1.0.pc.in')):
+ includedir = os.path.join(dirname, '..', 'giscanner')
+ else:
includedir = INCLUDEDIR
filenames.insert(0, os.path.join(includedir, 'glibconfig-scanner.h'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]