From 2ee2304fe1ac10c695c1e4eb59138417a8b13ac6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 11 Apr 2019 11:39:17 +0200 Subject: Simplify the installation process of the icons ... Making install in icons make[2]: Entering directory '/home/robert/devel/eom/data/icons' make[3]: Entering directory '/home/robert/devel/eom/data/icons' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor' /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor/32x32/actions' /usr/bin/install -c -m 644 32x32/actions/eom-image-collection.png 32x32/actions/eom-plugin.png 32x32/actions/slideshow-play.png '/usr/share/eom/icons/hicolor/32x32/actions' /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor/16x16/actions' /usr/bin/install -c -m 644 16x16/actions/eom-image-collection.png 16x16/actions/eom-plugin.png 16x16/actions/slideshow-play.png '/usr/share/eom/icons/hicolor/16x16/actions' /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor/24x24/actions' /usr/bin/install -c -m 644 24x24/actions/eom-image-collection.png 24x24/actions/slideshow-play.png '/usr/share/eom/icons/hicolor/24x24/actions' /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor/48x48/actions' /usr/bin/install -c -m 644 48x48/actions/slideshow-play.png '/usr/share/eom/icons/hicolor/48x48/actions' /usr/bin/mkdir -p '/usr/share/eom/icons/hicolor/22x22/actions' /usr/bin/install -c -m 644 22x22/actions/eom-image-collection.png 22x22/actions/eom-plugin.png 22x22/actions/slideshow-play.png '/usr/share/eom/icons/hicolor/22x22/actions' /usr/bin/mkdir -p '/usr/share/icons/hicolor' /usr/bin/mkdir -p '/usr/share/icons/hicolor/24x24/apps' /usr/bin/install -c -m 644 24x24/apps/eom.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/eom.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/eom.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/eom.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/eom.png '/usr/share/icons/hicolor/32x32/apps' make install-data-hook make[4]: Entering directory '/home/robert/devel/eom/data/icons' Updating Gtk icon cache. gtk-update-icon-cache: Cache file created successfully. ... --- data/icons/16x16/Makefile.am | 19 ------------------- data/icons/22x22/Makefile.am | 19 ------------------- data/icons/24x24/Makefile.am | 11 ----------- data/icons/32x32/Makefile.am | 20 -------------------- data/icons/48x48/Makefile.am | 7 ------- data/icons/Makefile.am | 42 ++++++++++++++++++++++++++++++++++++++++- data/icons/scalable/Makefile.am | 12 ------------ 7 files changed, 41 insertions(+), 89 deletions(-) delete mode 100644 data/icons/16x16/Makefile.am delete mode 100644 data/icons/22x22/Makefile.am delete mode 100644 data/icons/24x24/Makefile.am delete mode 100644 data/icons/32x32/Makefile.am delete mode 100644 data/icons/48x48/Makefile.am delete mode 100644 data/icons/scalable/Makefile.am (limited to 'data') diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am deleted file mode 100644 index 94ba3d7..0000000 --- a/data/icons/16x16/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -size = 16x16 -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions -appiconsdir = $(datadir)/icons/hicolor/$(size)/apps - -dist_appicons_DATA = \ - apps/eom.png -dist_actionicons_DATA = \ - actions/eom-plugin.png \ - actions/eom-image-collection.png \ - actions/slideshow-play.png - -noinst_DATA = \ - apps/eom.svg \ - actions/eom-plugin.svg \ - actions/slideshow-play.svg - -EXTRA_DIST = $(noinst_DATA) - --include $(top_srcdir)/git.mk diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am deleted file mode 100644 index 7d116aa..0000000 --- a/data/icons/22x22/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -size = 22x22 -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions -appiconsdir = $(datadir)/icons/hicolor/$(size)/apps - -dist_appicons_DATA = \ - apps/eom.png -dist_actionicons_DATA = \ - actions/eom-plugin.png \ - actions/eom-image-collection.png \ - actions/slideshow-play.png - -noinst_DATA = \ - apps/eom.svg \ - actions/eom-plugin.svg \ - actions/slideshow-play.svg - -EXTRA_DIST = $(noinst_DATA) - --include $(top_srcdir)/git.mk diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am deleted file mode 100644 index 09cbd37..0000000 --- a/data/icons/24x24/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -size = 24x24 -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions -appiconsdir = $(datadir)/icons/hicolor/$(size)/apps - -dist_appicons_DATA = \ - apps/eom.png -dist_actionicons_DATA = \ - actions/eom-image-collection.png \ - actions/slideshow-play.png - --include $(top_srcdir)/git.mk diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am deleted file mode 100644 index 0582f08..0000000 --- a/data/icons/32x32/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -size = 32x32 -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions -appiconsdir = $(datadir)/icons/hicolor/$(size)/apps - -dist_appicons_DATA = \ - apps/eom.png -dist_actionicons_DATA = \ - actions/eom-plugin.png \ - actions/eom-image-collection.png \ - actions/slideshow-play.png - -noinst_DATA = \ - apps/eom.svg \ - actions/eom-image-collection.svg \ - actions/eom-plugin.svg \ - actions/slideshow-play.svg - -EXTRA_DIST = $(noinst_DATA) - --include $(top_srcdir)/git.mk diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am deleted file mode 100644 index 6c4d701..0000000 --- a/data/icons/48x48/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -size = 48x48 -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions - -dist_actionicons_DATA = \ - actions/slideshow-play.png - --include $(top_srcdir)/git.mk diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 123b8e3..d54d1db 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -1,4 +1,44 @@ -SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable + +actioniconsdir = $(pkgdatadir)/icons/hicolor +appiconsdir = $(datadir)/icons/hicolor + +nobase_dist_actionicons_DATA = \ + 16x16/actions/eom-image-collection.png \ + 16x16/actions/eom-plugin.png \ + 16x16/actions/slideshow-play.png \ + 22x22/actions/eom-image-collection.png \ + 22x22/actions/eom-plugin.png \ + 22x22/actions/slideshow-play.png \ + 24x24/actions/eom-image-collection.png \ + 24x24/actions/slideshow-play.png \ + 32x32/actions/eom-image-collection.png \ + 32x32/actions/eom-plugin.png \ + 32x32/actions/slideshow-play.png \ + 48x48/actions/slideshow-play.png + scalable/actions/eom-image-collection.svg \ + scalable/actions/eom-plugin.svg \ + scalable/actions/slideshow-play.svg + +nobase_dist_appicons_DATA = \ + 16x16/apps/eom.png \ + 22x22/apps/eom.png \ + 24x24/apps/eom.png \ + 32x32/apps/eom.png \ + scalable/apps/eom.svg + +noinst_DATA = \ + 16x16/actions/eom-plugin.svg \ + 16x16/actions/slideshow-play.svg \ + 16x16/apps/eom.svg \ + 22x22/actions/eom-plugin.svg \ + 22x22/actions/slideshow-play.svg \ + 22x22/apps/eom.svg \ + 32x32/actions/eom-image-collection.svg \ + 32x32/actions/eom-plugin.svg \ + 32x32/actions/slideshow-play.svg \ + 32x32/apps/eom.svg + +EXTRA_DIST = $(noinst_DATA) gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am deleted file mode 100644 index 7acb6dc..0000000 --- a/data/icons/scalable/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -size = scalable -actioniconsdir = $(pkgdatadir)/icons/hicolor/$(size)/actions -appiconsdir = $(datadir)/icons/hicolor/$(size)/apps - -dist_appicons_DATA = \ - apps/eom.svg -dist_actionicons_DATA = \ - actions/eom-plugin.svg \ - actions/eom-image-collection.svg \ - actions/slideshow-play.svg - --include $(top_srcdir)/git.mk -- cgit v1.2.1