aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-05-26 11:54:30 -0400
committerMichael Terry <michael.terry@canonical.com>2011-05-26 11:54:30 -0400
commit6eb44e9133dc234ce48cf27454575a3cebf0376d (patch)
tree49324cf5c205a332b1541b9b0e5c9eae8d1c1da1 /src/Makefile.am
parentf133202143adf833bc8f6de78826a1325932a13e (diff)
downloadayatana-indicator-session-6eb44e9133dc234ce48cf27454575a3cebf0376d.tar.gz
ayatana-indicator-session-6eb44e9133dc234ce48cf27454575a3cebf0376d.tar.bz2
ayatana-indicator-session-6eb44e9133dc234ce48cf27454575a3cebf0376d.zip
port to gtk3; allow building with gtk2
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 4fa43b9..0317de7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -69,13 +69,13 @@ users-service-marshal.c: $(srcdir)/users-service.list
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 ";" >> $@
gen-%.xml.h: %.xml
@echo "Building $@ from $<"
- @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $<)));" > $@
+ @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@
#################
# Session Stuff