diff options
author | Michael Terry <mike@mterry.name> | 2011-01-13 16:04:53 -0600 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-13 16:04:53 -0600 |
commit | 4098f740513bcf736fc75f86d7245f49499c90dc (patch) | |
tree | eba40767bb7aed11d265c43a20e161dac235bf45 | |
parent | 38af4e8e52874d435eb9596f6b8d7fe79e71fe49 (diff) | |
download | libayatana-indicator-4098f740513bcf736fc75f86d7245f49499c90dc.tar.gz libayatana-indicator-4098f740513bcf736fc75f86d7245f49499c90dc.tar.bz2 libayatana-indicator-4098f740513bcf736fc75f86d7245f49499c90dc.zip |
fix basename issue when make is given full path
-rw-r--r-- | libindicator/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index 5c70345..47a902a 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -104,11 +104,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 ";" >> $@ |