diff options
author | Michael Terry <mike@mterry.name> | 2011-01-13 17:36:29 -0600 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-13 17:36:29 -0600 |
commit | b38d1d8a853bee2d08ce7ead3f0ffa00a6670cd6 (patch) | |
tree | 7bdbedd96cb186f3a1031e56f7b85cd3b2f043ad /src | |
parent | 6698a1a3c73d1a4131d40eafbbbc38b6e946dbda (diff) | |
download | libayatana-appindicator-b38d1d8a853bee2d08ce7ead3f0ffa00a6670cd6.tar.gz libayatana-appindicator-b38d1d8a853bee2d08ce7ead3f0ffa00a6670cd6.tar.bz2 libayatana-appindicator-b38d1d8a853bee2d08ce7ead3f0ffa00a6670cd6.zip |
use notdir in case make gives us full paths
Diffstat (limited to 'src')
-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 ";" >> $@ |