summaryrefslogtreecommitdiff
path: root/netspeed/data/Makefile.am
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-11 13:43:46 +0300
committermonsta <[email protected]>2015-12-14 16:41:47 +0300
commit8aabf4f0797f7cb4a56b194b66b7c41537fcbc69 (patch)
tree4a8ced2d14dbb2e39cca6e7af7d12d8ef9554406 /netspeed/data/Makefile.am
parent33c414812425341777454444904cecf8a525c13a (diff)
downloadmate-applets-8aabf4f0797f7cb4a56b194b66b7c41537fcbc69.tar.bz2
mate-applets-8aabf4f0797f7cb4a56b194b66b7c41537fcbc69.tar.xz
merge netspeed applet from mate-netspeed repo
Diffstat (limited to 'netspeed/data/Makefile.am')
-rw-r--r--netspeed/data/Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/netspeed/data/Makefile.am b/netspeed/data/Makefile.am
new file mode 100644
index 00000000..14430adc
--- /dev/null
+++ b/netspeed/data/Makefile.am
@@ -0,0 +1,41 @@
+APPLET_LOCATION = $(libexecdir)/mate-netspeed-applet
+
+appletdir = $(datadir)/mate-panel/applets
+applet_in_files = org.mate.applets.NetspeedApplet.mate-panel-applet.in
+applet_DATA = $(applet_in_files:.mate-panel-applet.in=.mate-panel-applet)
+
+$(applet_in_files): $(applet_in_files).in Makefile
+ $(AM_V_GEN)sed \
+ -e "s|\@LOCATION\@|$(APPLET_LOCATION)|" \
+ $< > $@
+%.mate-panel-applet: %.mate-panel-applet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
+
+xmluidir = $(datadir)/mate/ui
+xmlui_DATA = netspeed-menu.xml
+
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.panel.applet.NetspeedAppletFactory.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.mate.panel.applet.NetspeedAppletFactory.service: $(service_in_files)
+ $(AM_V_GEN)sed \
+ -e "s|\@LOCATION\@|$(APPLET_LOCATION)|" \
+ $< > $@
+
+netspeed_gschema_in_files = org.mate.panel.applet.netspeed.gschema.xml.in
+gsettings_SCHEMAS = $(netspeed_gschema_in_files:.xml.in=.xml)
+@INTLTOOL_XML_NOMERGE_RULE@
+@GSETTINGS_RULES@
+
+EXTRA_DIST = \
+ org.mate.applets.NetspeedApplet.mate-panel-applet.in.in \
+ $(xmlui_DATA) \
+ $(service_in_files) \
+ $(netspeed_gschema_in_files)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS) \
+ $(service_DATA) \
+ $(applet_in_files) \
+ org.mate.applets.NetspeedApplet.mate-panel-applet
+