diff options
author | raveit65 <[email protected]> | 2018-04-22 17:18:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-04-26 13:01:37 +0200 |
commit | fb3abe3bc1cf858638867a2b92c53c5caf8e060f (patch) | |
tree | bc52b33df8073e8280e3eed4ccfb53e0f6e85710 /applets/notification_area/Makefile.am | |
parent | e1db0723dfba93d36d36b3b4e4327e9965aa90d4 (diff) | |
download | mate-panel-fb3abe3bc1cf858638867a2b92c53c5caf8e060f.tar.bz2 mate-panel-fb3abe3bc1cf858638867a2b92c53c5caf8e060f.tar.xz |
na-tray: Convert to GResource
Diffstat (limited to 'applets/notification_area/Makefile.am')
-rw-r--r-- | applets/notification_area/Makefile.am | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/applets/notification_area/Makefile.am b/applets/notification_area/Makefile.am index 4e7272e5..083b4524 100644 --- a/applets/notification_area/Makefile.am +++ b/applets/notification_area/Makefile.am @@ -14,7 +14,6 @@ AM_CPPFLAGS = \ -I$(top_builddir)/libmate-panel-applet \ -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DG_LOG_DOMAIN=\""notification-area-applet"\" \ - -DNOTIFICATION_AREA_MENU_UI_DIR=\""$(uidir)"\" \ -DPROVIDE_WATCHER_SERVICE=1 \ $(DISABLE_DEPRECATED_CFLAGS) @@ -33,7 +32,10 @@ libtray_la_LIBADD = \ status-notifier/libstatus-notifier.la \ system-tray/libsystem-tray.la -NOTIFICATION_AREA_SOURCES = main.c main.h +NOTIFICATION_AREA_SOURCES = \ + main.c \ + main.h \ + $(BUILT_SOURCES) NOTIFICATION_AREA_LDADD = \ ../../libmate-panel-applet/libmate-panel-applet-4.la \ @@ -91,12 +93,23 @@ org.mate.panel.applet.NotificationAreaAppletFactory.service: $(service_in_files) $< > $@ endif -uidir = $(datadir)/mate-panel/ui -ui_DATA = notification-area-menu.xml +ui_FILES = \ + notification-area-menu.xml + +na-resources.c: na.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/na.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name na $< + +na-resources.h: na.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/na.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name na $< + +BUILT_SOURCES = \ + na-resources.c \ + na-resources.h EXTRA_DIST = \ org.mate.panel.NotificationAreaApplet.mate-panel-applet.in.in \ - $(ui_DATA) \ + $(ui_FILES) \ + na.gresource.xml \ $(service_in_files) CLEANFILES = \ |