summaryrefslogtreecommitdiff
path: root/cpufreq/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-08-07 09:28:01 +0200
committermouse <[email protected]>2022-08-15 10:03:18 +0800
commitd785377044f6bafd927722e1c03175e854870b75 (patch)
tree9aef43012e527ffbaa4158ea001f497ff81bba06 /cpufreq/Makefile.am
parent927c136fab9280d095d837b93f7c34da666b550c (diff)
downloadmate-applets-d785377044f6bafd927722e1c03175e854870b75.tar.bz2
mate-applets-d785377044f6bafd927722e1c03175e854870b75.tar.xz
cpufreq: Add data dir
Diffstat (limited to 'cpufreq/Makefile.am')
-rw-r--r--cpufreq/Makefile.am47
1 files changed, 1 insertions, 46 deletions
diff --git a/cpufreq/Makefile.am b/cpufreq/Makefile.am
index 8fb1386f..1fe1e1c9 100644
--- a/cpufreq/Makefile.am
+++ b/cpufreq/Makefile.am
@@ -1,48 +1,3 @@
-NULL =
-
-SUBDIRS = help pixmaps src
-
-cpufreq_gschema_in_files = org.mate.panel.applet.cpufreq.gschema.xml.in
-gsettings_SCHEMAS = $(cpufreq_gschema_in_files:.xml.in=.xml)
-@GSETTINGS_RULES@
-
-appletdir = $(datadir)/mate-panel/applets
-applet_in_files = org.mate.applets.CPUFreqApplet.mate-panel-applet.desktop.in
-applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
-
-$(applet_in_files): $(applet_in_files).in Makefile
- $(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
- -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.CPUFreqAppletFactory.service.in
-service_DATA = $(service_in_files:.service.in=.service)
-
-org.mate.panel.applet.CPUFreqAppletFactory.service: $(service_in_files)
- $(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
- $< > $@
-
-CLEANFILES = \
- $(applet_DATA) \
- $(applet_in_files) \
- $(service_DATA) \
- $(gsettings_SCHEMAS) \
- *.gschema.valid \
- $(NULL)
-
-EXTRA_DIST = \
- $(applet_in_files).in \
- $(service_in_files) \
- $(cpufreq_gschema_in_files) \
- cpufreq-applet-menu.xml \
- cpufreq-preferences.ui \
- cpufreq-resources.gresource.xml \
- $(NULL)
+SUBDIRS = help pixmaps data src
-include $(top_srcdir)/git.mk