summaryrefslogtreecommitdiff
path: root/data/icons/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-17 10:16:01 +0200
committerraveit65 <[email protected]>2019-08-20 11:53:37 +0200
commitab5c7f6af6afb3b80ae683c1da98ed0f7384c841 (patch)
treef148c2a7e66db4380578b0e9c8878313156a2f6a /data/icons/Makefile.am
parentef59256ea98df3dadcf67683af960d847dae0e9a (diff)
downloadmate-power-manager-ab5c7f6af6afb3b80ae683c1da98ed0f7384c841.tar.bz2
mate-power-manager-ab5c7f6af6afb3b80ae683c1da98ed0f7384c841.tar.xz
Simplify the installation process of the icons
Diffstat (limited to 'data/icons/Makefile.am')
-rw-r--r--data/icons/Makefile.am19
1 files changed, 17 insertions, 2 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 17dca13..216fc60 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,4 +1,20 @@
-SUBDIRS = scalable 16x16 22x22 24x24 32x32 48x48
+actioniconsdir = $(pkgdatadir)/icons/hicolor
+appiconsdir = $(datadir)/icons/hicolor
+statusiconsdir = $(pkgdatadir)/icons/hicolor
+
+sizes = 16x16 22x22 24x24 32x32 48x48
+
+nobase_dist_actionicons_DATA = \
+ $(foreach size,$(sizes),$(wildcard $(size)/actions/*.png)) \
+ $(wildcard scalable/actions/*.svg)
+
+nobase_dist_appicons_DATA = \
+ $(foreach size,$(sizes),$(wildcard $(size)/apps/*.png)) \
+ $(wildcard scalable/apps/*.svg)
+
+nobase_dist_statusicons_DATA = \
+ $(foreach size,$(sizes),$(wildcard $(size)/status/*.png)) \
+ $(wildcard scalable/status/*.svg)
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(pkgdatadir)/icons/hicolor
@@ -12,4 +28,3 @@ update-icon-cache:
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
-