aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 35c40c5..18e2baf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -102,13 +102,13 @@ DBUS_SPECS = \
gen-%.xml.c: %.xml
@echo "Building $@ from $<"
- @echo "const char * _$(subst -,_,$(subst .,_,$(basename $<))) = " > $@
+ @echo "const char * _$(notdir $(subst -,_,$(subst .,_,$(basename $<)))) = " > $@
@sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@
@echo ";" >> $@
gen-%.xml.h: %.xml
@echo "Building $@ from $<"
- @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $<)));" > $@
+ @echo "extern const char * _$(notdir $(subst -,_,$(subst .,_,$(basename $<))));" > $@
BUILT_SOURCES += \
$(DBUS_SPECS:.xml=-client.h) \