diff options
author | Jason Conti <jason.conti@gmail.com> | 2011-05-15 15:41:32 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2011-05-15 15:41:32 -0400 |
commit | 239dec68b0e37d20d07af51e4bc21200447b0aaa (patch) | |
tree | 226b0f22a9939530d96b0b7e582eece89a2329da /src/Makefile.am | |
parent | fc92dc2b4c0173b17b2c4a771aef593316425e81 (diff) | |
download | ayatana-indicator-notifications-239dec68b0e37d20d07af51e4bc21200447b0aaa.tar.gz ayatana-indicator-notifications-239dec68b0e37d20d07af51e4bc21200447b0aaa.tar.bz2 ayatana-indicator-notifications-239dec68b0e37d20d07af51e4bc21200447b0aaa.zip |
Couldn't seem to get a signal when a menu item is added to the dbusmenu, so adding the interface back from indicator-datetime with a MessageAdded signal to notify the indicator when a notification is added to the menu.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index fc973f4..486770f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,6 +7,9 @@ indicator_notifications_service_SOURCES = \ dbus-spy.h \ notification.c \ notification.h \ + notifications-interface.c \ + notifications-interface.h \ + gen-notifications-service.xml.c \ notifications-service.c \ dbus-shared.h \ settings-shared.h @@ -33,3 +36,22 @@ libnotifications_la_LDFLAGS = \ -module \ -avoid-version +gen-%.xml.c: %.xml + @echo "Building $@ from $<" + @echo "const char * _$(subst -,_,$(subst .,_,$(basename $<))) = " > $@ + @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ + @echo ";" >> $@ + +gen-%.xml.h: %.xml + @echo "Building $@ from $<" + @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $<)));" > $@ + +BUILT_SOURCES = \ + gen-notifications-service.xml.c \ + gen-notifications-service.xml.h + +CLEANFILES = \ + $(BUILT_SOURCES) + +EXTRA_DIST = \ + notifications-service.xml |