aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-13 18:26:32 -0600
committerKen VanDine <ken.vandine@canonical.com>2011-01-13 18:26:32 -0600
commit0b264400127942e9210ba97217d7ebc2a0727cbf (patch)
treeb76a6c7f8b25cc2b0838e8651bfca0a488e775db /src/Makefile.am
parent087e6316977fbd3f870ce6d7b734de9765f6eed2 (diff)
parent0e9f42a12daf9bc3f14f6dd7dcc7efb33a22fa94 (diff)
downloadlibayatana-appindicator-0b264400127942e9210ba97217d7ebc2a0727cbf.tar.gz
libayatana-appindicator-0b264400127942e9210ba97217d7ebc2a0727cbf.tar.bz2
libayatana-appindicator-0b264400127942e9210ba97217d7ebc2a0727cbf.zip
merged
* avoid nulls when crafting variants * use notdir in case make gives us full paths
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a5ea29b..069247f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -101,11 +101,11 @@ DBUS_SPECS = \
gen-%.xml.h: %.xml
@echo "Building $@ from $<"
- @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $<)));" > $@
+ @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@
gen-%.xml.c: %.xml
@echo "Building $@ from $<"
- @echo "const char * _$(subst -,_,$(subst .,_,$(basename $<))) = " > $@
+ @echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@
@sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@
@echo ";" >> $@