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 | 2dcb5b7388ffe6a7fe82fdc1cf2dd0c42cc92ba6 (patch) | |
tree | 226b0f22a9939530d96b0b7e582eece89a2329da /src/Makefile.am | |
parent | 4e29fce998872fa1cf3972d2e1e348327f43714c (diff) | |
download | ayatana-indicator-notifications-2dcb5b7388ffe6a7fe82fdc1cf2dd0c42cc92ba6.tar.gz ayatana-indicator-notifications-2dcb5b7388ffe6a7fe82fdc1cf2dd0c42cc92ba6.tar.bz2 ayatana-indicator-notifications-2dcb5b7388ffe6a7fe82fdc1cf2dd0c42cc92ba6.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 |