summaryrefslogtreecommitdiff
path: root/Makefile.introspection
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-09-02 21:23:21 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-06 13:55:30 +0100
commit157575508828a6e5a06f5a310dd7f296812aff8d (patch)
tree578adc0068f5759cacc4d21b1c82b2640ce5716c /Makefile.introspection
parent2796c5211da95080ceb2de04eeb60f7f7092dccf (diff)
downloadgobject-introspection-157575508828a6e5a06f5a310dd7f296812aff8d.tar.gz
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
Diffstat (limited to 'Makefile.introspection')
-rw-r--r--Makefile.introspection2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index f38c8684..0e81f556 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