diff options
author | Colin Walters <walters@verbum.org> | 2009-08-24 14:38:27 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-08-24 14:38:27 -0400 |
commit | 4ba8fa2f8a63bf658406f60e4d3a1f9cc5586ea4 (patch) | |
tree | d73ca2445d01ece3811adac64145f9fff84d0725 | |
parent | 95f40264a1df97d066bda5cda4b39e99804b77f7 (diff) | |
download | gobject-introspection-4ba8fa2f8a63bf658406f60e4d3a1f9cc5586ea4.tar.gz |
Bug 578200 - Substitute $(PYTHON) in g-ir-scanner.in
This lets us pick up non-default /usr/bin/python2.6 correctly.
-rw-r--r-- | tools/Makefile.am | 2 | ||||
-rwxr-xr-x | tools/g-ir-scanner.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 31ed1456..b8e03939 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -9,7 +9,7 @@ bin_SCRIPTS = g-ir-scanner EXTRA_DIST = g-ir-scanner.in g-ir-scanner: g-ir-scanner.in Makefile - sed -e s,@libdir\@,$(libdir), $< > $@.tmp && mv $@.tmp $@ + sed -e s,@libdir\@,$(libdir), -e s,@PYTHON\@,$(PYTHON), $< > $@.tmp && mv $@.tmp $@ chmod a+x $@ g_ir_compiler_SOURCES = compiler.c diff --git a/tools/g-ir-scanner.in b/tools/g-ir-scanner.in index b7197c9e..4c4d9270 100755 --- a/tools/g-ir-scanner.in +++ b/tools/g-ir-scanner.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!@PYTHON@ # -*- Mode: Python -*- # GObject-Introspection - a framework for introspecting GObject libraries # Copyright (C) 2008 Johan Dahlin |