[gobject-introspection] Bug 628594 — Handle slashes when building _gir_name
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Bug 628594 — Handle slashes when building _gir_name
- Date: Mon, 6 Sep 2010 12:58:02 +0000 (UTC)
commit 157575508828a6e5a06f5a310dd7f296812aff8d
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Sep 2 21:23:21 2010 +0100
Bug 628594 â?? Handle slashes when building _gir_name
Convert slashes to underscores in _gir_name so that non-recursive builds can
use Makefile.introspection. Closes: bgo#628594
Makefile.introspection | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.introspection b/Makefile.introspection
index f38c868..0e81f55 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -44,7 +44,7 @@ $(if $(INTROSPECTION_COMPILER),,$(error Need to define INTROSPECTION_COMPILER))
## Transform the gir filename to something which can reference through a variable
## without automake/make complaining, eg Gtk-2.0.gir -> Gtk_2_0_gir
-_gir_name = $(subst -,_,$(subst .,_,$(1)))
+_gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
# Namespace and Version is either fetched from the gir filename
# or the _NAMESPACE/_VERSION variable combo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]