From 251da6dc9c3ce7e84e83d734bb08cc42c6db2480 Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Wed, 16 Dec 2009 14:29:18 -0500 Subject: exclude the path in subst replace in the dbus-binding-tool command --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index ee4b7a7..f101d12 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -107,14 +107,14 @@ DBUS_SPECS = \ %-client.h: %.xml dbus-binding-tool \ - --prefix=_$(subst -,_,$(<:.xml=))_client \ + --prefix=_$(notdir $(subst -,_,$(<:.xml=)))_client \ --mode=glib-client \ --output=$@ \ $< %-server.h: %.xml dbus-binding-tool \ - --prefix=_$(subst -,_,$(<:.xml=))_server \ + --prefix=_$(notdir $(subst -,_,$(<:.xml=)))_server \ --mode=glib-server \ --output=$@ \ $< -- cgit v1.2.3