summaryrefslogtreecommitdiff
path: root/multiload/data/Makefile.am
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-06-19 17:31:40 -0400
committerraveit65 <[email protected]>2023-07-17 02:47:28 +0200
commit6133a03263321ab85fae9299968a8f069b3dfad5 (patch)
tree3c30161fa82a4f60ffb68a30239df87571ab3e72 /multiload/data/Makefile.am
parented185133fa170ee018dfa25e1010b1fcf4238c78 (diff)
downloadmate-applets-6133a03263321ab85fae9299968a8f069b3dfad5.tar.bz2
mate-applets-6133a03263321ab85fae9299968a8f069b3dfad5.tar.xz
multiload: port to in-process for wayland
*Fully functional on both x11 and wayland
Diffstat (limited to 'multiload/data/Makefile.am')
-rw-r--r--multiload/data/Makefile.am16
1 files changed, 5 insertions, 11 deletions
diff --git a/multiload/data/Makefile.am b/multiload/data/Makefile.am
index 0f1f9723..c98d4ff5 100644
--- a/multiload/data/Makefile.am
+++ b/multiload/data/Makefile.am
@@ -1,3 +1,7 @@
+NULL =
+
+APPLET_LOCATION = $(libdir)/mate-applets/libmate-multiload-applet.so
+
multiload_gschema_in_files = org.mate.panel.applet.multiload.gschema.xml.in
gsettings_SCHEMAS = $(multiload_gschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
@@ -9,32 +13,22 @@ applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel
$(applet_in_files): $(applet_in_files).in Makefile
$(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ -e "s|\@APPLET_LOCATION\@|$(APPLET_LOCATION)|" \
-e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
$< > $@
$(applet_DATA): $(applet_in_files) Makefile
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
-servicedir = $(datadir)/dbus-1/services
-service_in_files = org.mate.panel.applet.MultiLoadAppletFactory.service.in
-service_DATA = $(service_in_files:.service.in=.service)
-
-org.mate.panel.applet.MultiLoadAppletFactory.service: $(service_in_files)
- $(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
- $< > $@
CLEANFILES = \
$(applet_DATA) \
$(applet_in_files) \
- $(service_DATA) \
$(gsettings_SCHEMAS) \
*.gschema.valid
EXTRA_DIST = \
$(applet_in_in_files) \
- $(service_in_files) \
$(multiload_gschema_in_files) \
multiload-applet-menu.xml \
multiload-resources.gresource.xml \