diff options
author | rbuj <[email protected]> | 2020-07-18 12:08:59 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-26 17:43:49 +0200 |
commit | 4b463e46b85ac0d8235c0edd201f1597e9398500 (patch) | |
tree | 5fbf6524c58bb37ffd00eb026ae7280e8b11abe8 /mateweather/Makefile.am | |
parent | 1c0b07583766c974631f1e6e3630e0d15e782a98 (diff) | |
download | mate-applets-4b463e46b85ac0d8235c0edd201f1597e9398500.tar.bz2 mate-applets-4b463e46b85ac0d8235c0edd201f1597e9398500.tar.xz |
mateweather: Add mateweather-dialog.ui
Diffstat (limited to 'mateweather/Makefile.am')
-rw-r--r-- | mateweather/Makefile.am | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/mateweather/Makefile.am b/mateweather/Makefile.am index dd80e547..07e7884c 100644 --- a/mateweather/Makefile.am +++ b/mateweather/Makefile.am @@ -5,7 +5,7 @@ SUBDIRS = docs AM_CPPFLAGS = \ -I$(srcdir) \ -I$(top_srcdir) \ - -DMATEWEATHER_MENU_UI_DIR=\""$(uidir)"\" \ + -DWEATHER_RESOURCE_PATH=\""/org/mate/mate-applets/mateweather/"\" \ $(MATE_APPLETS4_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ $(LIBMATEWEATHER_CFLAGS) \ @@ -13,6 +13,8 @@ AM_CPPFLAGS = \ libexec_PROGRAMS = mateweather-applet +BUILT_SOURCES = mateweather-resources.c mateweather-resources.h +nodist_mateweather_applet_SOURCES = $(BUILT_SOURCES) mateweather_applet_SOURCES = \ mateweather.h \ main.c \ @@ -27,8 +29,11 @@ mateweather_applet_LDADD = \ $(MATE_LIBS2_LIBS) \ $(LIBMATEWEATHER_LIBS) -uidir = $(datadir)/mate/ui -ui_DATA = mateweather-applet-menu.xml +mateweather-resources.c: mateweather-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/mateweather-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name mateweather $< + +mateweather-resources.h: mateweather-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/mateweather-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name mateweather $< appletdir = $(datadir)/mate-panel/applets applet_in_files = org.mate.applets.MateWeatherApplet.mate-panel-applet.desktop.in @@ -52,11 +57,18 @@ org.mate.panel.applet.MateWeatherAppletFactory.service: $(service_in_files) -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ $< > $@ -CLEANFILES = $(applet_DATA) $(applet_in_files) $(service_DATA) +CLEANFILES = \ + $(applet_DATA) \ + $(applet_in_files) \ + $(service_DATA) \ + $(BUILT_SOURCES) -EXTRA_DIST = \ - $(applet_in_files).in \ - $(service_in_files) \ +EXTRA_DIST = \ + mateweather-applet-menu.xml \ + mateweather-dialog.ui \ + mateweather-resources.gresource.xml \ + $(applet_in_files).in \ + $(service_in_files) \ $(ui_DATA) -include $(top_srcdir)/git.mk |