summaryrefslogtreecommitdiff
path: root/data/icons
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-05-02 13:40:34 +0200
committerraveit65 <[email protected]>2019-05-06 14:46:29 +0200
commit7b242fb0745aa6c70a7712743cdde1d6c7209afc (patch)
treed379945cf2f4530f7f11b52ebbe093703edf70d8 /data/icons
parent383951fe3a2555cd1747649b04ec00a15f94eb73 (diff)
downloadmate-session-manager-7b242fb0745aa6c70a7712743cdde1d6c7209afc.tar.bz2
mate-session-manager-7b242fb0745aa6c70a7712743cdde1d6c7209afc.tar.xz
Simplify the installation process of the icons
... Making install in icons make[2]: Entering directory '/home/robert/devel/mate-session-manager/data/icons' make[3]: Entering directory '/home/robert/devel/mate-session-manager/data/icons' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/share/icons/hicolor' /usr/bin/mkdir -p '/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -c -m 644 48x48/apps/mate-session-properties.png '/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/usr/share/icons/hicolor/24x24/apps' /usr/bin/install -c -m 644 24x24/apps/mate-session-properties.png '/usr/share/icons/hicolor/24x24/apps' /usr/bin/mkdir -p '/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -c -m 644 scalable/apps/mate-session-properties.svg '/usr/share/icons/hicolor/scalable/apps' /usr/bin/mkdir -p '/usr/share/icons/hicolor/22x22/apps' /usr/bin/install -c -m 644 22x22/apps/mate-session-properties.png '/usr/share/icons/hicolor/22x22/apps' /usr/bin/mkdir -p '/usr/share/icons/hicolor/16x16/apps' /usr/bin/install -c -m 644 16x16/apps/mate-session-properties.png '/usr/share/icons/hicolor/16x16/apps' /usr/bin/mkdir -p '/usr/share/icons/hicolor/32x32/apps' /usr/bin/install -c -m 644 32x32/apps/mate-session-properties.png '/usr/share/icons/hicolor/32x32/apps' make install-data-hook make[4]: Entering directory '/home/robert/devel/mate-session-manager/data/icons' Updating Gtk icon cache. gtk-update-icon-cache: Cache file created successfully. ...
Diffstat (limited to 'data/icons')
-rw-r--r--data/icons/16x16/Makefile.am26
-rw-r--r--data/icons/16x16/apps/mate-session-properties.png (renamed from data/icons/16x16/mate-session-properties.png)bin595 -> 595 bytes
-rw-r--r--data/icons/16x16/apps/mate-session-properties.svg (renamed from data/icons/16x16/mate-session-properties.svg)0
-rw-r--r--data/icons/22x22/Makefile.am26
-rw-r--r--data/icons/22x22/apps/mate-session-properties.png (renamed from data/icons/22x22/mate-session-properties.png)bin754 -> 754 bytes
-rw-r--r--data/icons/22x22/apps/mate-session-properties.svg (renamed from data/icons/22x22/mate-session-properties.svg)0
-rw-r--r--data/icons/24x24/Makefile.am24
-rw-r--r--data/icons/24x24/apps/mate-session-properties.png (renamed from data/icons/24x24/mate-session-properties.png)bin784 -> 784 bytes
-rw-r--r--data/icons/32x32/Makefile.am26
-rw-r--r--data/icons/32x32/apps/mate-session-properties.png (renamed from data/icons/32x32/mate-session-properties.png)bin1109 -> 1109 bytes
-rw-r--r--data/icons/32x32/apps/mate-session-properties.svg (renamed from data/icons/32x32/mate-session-properties.svg)0
-rw-r--r--data/icons/48x48/Makefile.am24
-rw-r--r--data/icons/48x48/apps/mate-session-properties.png (renamed from data/icons/48x48/mate-session-properties.png)bin1839 -> 1839 bytes
-rw-r--r--data/icons/Makefile.am30
-rw-r--r--data/icons/scalable/Makefile.am24
-rw-r--r--data/icons/scalable/apps/mate-session-properties.svg (renamed from data/icons/scalable/mate-session-properties.svg)0
16 files changed, 29 insertions, 151 deletions
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
deleted file mode 100644
index f0d7ed6..0000000
--- a/data/icons/16x16/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-size = 16x16
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.png
-icons_SOURCE = mate-session-properties.svg
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA) \
- $(icons_SOURCE)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/16x16/mate-session-properties.png b/data/icons/16x16/apps/mate-session-properties.png
index 1367c20..1367c20 100644
--- a/data/icons/16x16/mate-session-properties.png
+++ b/data/icons/16x16/apps/mate-session-properties.png
Binary files differ
diff --git a/data/icons/16x16/mate-session-properties.svg b/data/icons/16x16/apps/mate-session-properties.svg
index 6408e1b..6408e1b 100644
--- a/data/icons/16x16/mate-session-properties.svg
+++ b/data/icons/16x16/apps/mate-session-properties.svg
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
deleted file mode 100644
index 7838b1d..0000000
--- a/data/icons/22x22/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-size = 22x22
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.png
-icons_SOURCE = mate-session-properties.svg
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA) \
- $(icons_SOURCE)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/22x22/mate-session-properties.png b/data/icons/22x22/apps/mate-session-properties.png
index 12225ee..12225ee 100644
--- a/data/icons/22x22/mate-session-properties.png
+++ b/data/icons/22x22/apps/mate-session-properties.png
Binary files differ
diff --git a/data/icons/22x22/mate-session-properties.svg b/data/icons/22x22/apps/mate-session-properties.svg
index ca49603..ca49603 100644
--- a/data/icons/22x22/mate-session-properties.svg
+++ b/data/icons/22x22/apps/mate-session-properties.svg
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
deleted file mode 100644
index 29d2692..0000000
--- a/data/icons/24x24/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-size = 24x24
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.png
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/24x24/mate-session-properties.png b/data/icons/24x24/apps/mate-session-properties.png
index ac81c7a..ac81c7a 100644
--- a/data/icons/24x24/mate-session-properties.png
+++ b/data/icons/24x24/apps/mate-session-properties.png
Binary files differ
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
deleted file mode 100644
index ecac65c..0000000
--- a/data/icons/32x32/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-size = 32x32
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.png
-icons_SOURCE = mate-session-properties.svg
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA) \
- $(icons_SOURCE)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/32x32/mate-session-properties.png b/data/icons/32x32/apps/mate-session-properties.png
index 25df9d3..25df9d3 100644
--- a/data/icons/32x32/mate-session-properties.png
+++ b/data/icons/32x32/apps/mate-session-properties.png
Binary files differ
diff --git a/data/icons/32x32/mate-session-properties.svg b/data/icons/32x32/apps/mate-session-properties.svg
index 33b5fee..33b5fee 100644
--- a/data/icons/32x32/mate-session-properties.svg
+++ b/data/icons/32x32/apps/mate-session-properties.svg
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
deleted file mode 100644
index 90d5571..0000000
--- a/data/icons/48x48/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-size = 48x48
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.png
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/48x48/mate-session-properties.png b/data/icons/48x48/apps/mate-session-properties.png
index 32c2358..32c2358 100644
--- a/data/icons/48x48/mate-session-properties.png
+++ b/data/icons/48x48/apps/mate-session-properties.png
Binary files differ
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 014b2e4..da7ab8a 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,3 +1,31 @@
-SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable
+appiconsdir = $(datadir)/icons/hicolor
+
+nobase_dist_appicons_DATA = \
+ 16x16/apps/mate-session-properties.png \
+ 22x22/apps/mate-session-properties.png \
+ 24x24/apps/mate-session-properties.png \
+ 32x32/apps/mate-session-properties.png \
+ 48x48/apps/mate-session-properties.png \
+ scalable/apps/mate-session-properties.svg
+
+noinst_DATA = \
+ 16x16/apps/mate-session-properties.svg \
+ 22x22/apps/mate-session-properties.svg \
+ 32x32/apps/mate-session-properties.svg
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After (un)install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
+EXTRA_DIST = $(noinst_DATA)
-include $(top_srcdir)/git.mk
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
deleted file mode 100644
index a097468..0000000
--- a/data/icons/scalable/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-size = scalable
-
-iconsdir = $(datadir)/icons/hicolor/$(size)/apps
-
-icons_DATA = mate-session-properties.svg
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-uninstall-hook:
- @rm -f $(datadir)/icons/hicolor/icon-theme.cache
-
-EXTRA_DIST = \
- $(icons_DATA)
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/scalable/mate-session-properties.svg b/data/icons/scalable/apps/mate-session-properties.svg
index a06a4f2..a06a4f2 100644
--- a/data/icons/scalable/mate-session-properties.svg
+++ b/data/icons/scalable/apps/mate-session-properties.svg