diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-01-13 18:26:32 -0600 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-01-13 18:26:32 -0600 |
commit | 0b264400127942e9210ba97217d7ebc2a0727cbf (patch) | |
tree | b76a6c7f8b25cc2b0838e8651bfca0a488e775db /src/Makefile.am | |
parent | 087e6316977fbd3f870ce6d7b734de9765f6eed2 (diff) | |
parent | 0e9f42a12daf9bc3f14f6dd7dcc7efb33a22fa94 (diff) | |
download | libayatana-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.am | 4 |
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 ";" >> $@ |