summaryrefslogtreecommitdiffstats
path: root/icons/Makefile.am
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-05-03 16:40:27 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-05-03 16:40:27 +0200
commit1270e9dc13385eb07bd420c7736ed37d6ed8a02b (patch)
tree144621437d5bde90b71bd03f1be2e32553c33a77 /icons/Makefile.am
parenta345b357a14f7e5ad259160f69d9c2129f2c4e01 (diff)
downloadabrt-1270e9dc13385eb07bd420c7736ed37d6ed8a02b.zip
abrt-1270e9dc13385eb07bd420c7736ed37d6ed8a02b.tar.gz
abrt-1270e9dc13385eb07bd420c7736ed37d6ed8a02b.tar.xz
updated icons rhbz#587698
- thanks to Lapo Calamandrei for the icons
Diffstat (limited to 'icons/Makefile.am')
-rw-r--r--icons/Makefile.am180
1 files changed, 109 insertions, 71 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am
index c44b3e1..4ee1b54 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -1,71 +1,109 @@
-NULL =
-
-public_icons_themes = \
- hicolor \
- $(NULL)
-
-private_icons = hicolor_status_48x48_abrt00.png \
- hicolor_status_48x48_abrt02.png \
- hicolor_status_48x48_abrt04.png \
- hicolor_status_48x48_abrt01.png \
- hicolor_status_48x48_abrt03.png \
- hicolor_status_48x48_abrt05.png
-
-
-EXTRA_DIST = $(private_icons)
-
-###############################################################################
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t
-
-update-icon-cache:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- for theme in $(public_icons_themes); do \
- $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
- done; \
- else \
- echo "*** Icon cache not updated. After (un)install, run this:"; \
- for theme in $(public_icons_themes); do \
- echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
- done; \
- fi
-
-install-icons:
- for icon in $(public_icons); do \
- THEME=`echo $$icon | cut -d_ -f1`; \
- CONTEXT=`echo $$icon | cut -d_ -f2`; \
- SIZE=`echo $$icon | cut -d_ -f3`; \
- ICONFILE=`echo $$icon | cut -d_ -f4`; \
- mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
- $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
- done; \
- for icon in $(private_icons); do \
- THEME=`echo $$icon | cut -d_ -f1`; \
- CONTEXT=`echo $$icon | cut -d_ -f2`; \
- SIZE=`echo $$icon | cut -d_ -f3`; \
- ICONFILE=`echo $$icon | cut -d_ -f4`; \
- mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
- $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
- done
-
-uninstall-icons:
- -for icon in $(public_icons); do \
- THEME=`echo $$icon | cut -d_ -f1`; \
- CONTEXT=`echo $$icon | cut -d_ -f2`; \
- SIZE=`echo $$icon | cut -d_ -f3`; \
- ICONFILE=`echo $$icon | cut -d_ -f4`; \
- rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
- done; \
- for icon in $(private_icons); do \
- THEME=`echo $$icon | cut -d_ -f1`; \
- CONTEXT=`echo $$icon | cut -d_ -f2`; \
- SIZE=`echo $$icon | cut -d_ -f3`; \
- ICONFILE=`echo $$icon | cut -d_ -f4`; \
- rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
- done
-
-install-data-local: install-icons update-icon-cache
-
-uninstall-local: uninstall-icons update-icon-cache
-
+NULL =
+
+public_icons_themes = \
+ hicolor \
+ $(NULL)
+
+private_icons = \
+ hicolor_status_16x16_abrt00.png \
+ hicolor_status_16x16_abrt01.png \
+ hicolor_status_16x16_abrt02.png \
+ hicolor_status_16x16_abrt03.png \
+ hicolor_status_16x16_abrt04.png \
+ hicolor_status_16x16_abrt05.png \
+ hicolor_status_22x22_abrt00.png \
+ hicolor_status_22x22_abrt01.png \
+ hicolor_status_22x22_abrt02.png \
+ hicolor_status_22x22_abrt03.png \
+ hicolor_status_22x22_abrt04.png \
+ hicolor_status_22x22_abrt05.png \
+ hicolor_status_24x24_abrt00.png \
+ hicolor_status_24x24_abrt01.png \
+ hicolor_status_24x24_abrt02.png \
+ hicolor_status_24x24_abrt03.png \
+ hicolor_status_24x24_abrt04.png \
+ hicolor_status_24x24_abrt05.png \
+ hicolor_status_32x32_abrt00.png \
+ hicolor_status_32x32_abrt01.png \
+ hicolor_status_32x32_abrt02.png \
+ hicolor_status_32x32_abrt03.png \
+ hicolor_status_32x32_abrt04.png \
+ hicolor_status_32x32_abrt05.png \
+ hicolor_status_48x48_abrt00.png \
+ hicolor_status_48x48_abrt01.png \
+ hicolor_status_48x48_abrt02.png \
+ hicolor_status_48x48_abrt03.png \
+ hicolor_status_48x48_abrt04.png \
+ hicolor_status_48x48_abrt05.png \
+ $(NULL)
+
+public_icons = hicolor_apps_16x16_abrt.png \
+ hicolor_apps_22x22_abrt.png \
+ hicolor_apps_24x24_abrt.png \
+ hicolor_apps_32x32_abrt.png \
+ hicolor_apps_48x48_abrt.png \
+ hicolor_status_16x16_abrt.png \
+ hicolor_status_22x22_abrt.png \
+ hicolor_status_24x24_abrt.png \
+ hicolor_status_32x32_abrt.png \
+ hicolor_status_48x48_abrt.png \
+ $(NULL)
+
+
+EXTRA_DIST = $(private_icons) $(public_icons)
+
+###############################################################################
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t
+
+update-icon-cache:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ for theme in $(public_icons_themes); do \
+ $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
+ done; \
+ else \
+ echo "*** Icon cache not updated. After (un)install, run this:"; \
+ for theme in $(public_icons_themes); do \
+ echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
+ done; \
+ fi
+
+install-icons:
+ for icon in $(public_icons); do \
+ THEME=`echo $$icon | cut -d_ -f1`; \
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
+ SIZE=`echo $$icon | cut -d_ -f3`; \
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
+ mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ done; \
+ for icon in $(private_icons); do \
+ THEME=`echo $$icon | cut -d_ -f1`; \
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
+ SIZE=`echo $$icon | cut -d_ -f3`; \
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
+ mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ done
+
+uninstall-icons:
+ -for icon in $(public_icons); do \
+ THEME=`echo $$icon | cut -d_ -f1`; \
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
+ SIZE=`echo $$icon | cut -d_ -f3`; \
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
+ rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ done; \
+ for icon in $(private_icons); do \
+ THEME=`echo $$icon | cut -d_ -f1`; \
+ CONTEXT=`echo $$icon | cut -d_ -f2`; \
+ SIZE=`echo $$icon | cut -d_ -f3`; \
+ ICONFILE=`echo $$icon | cut -d_ -f4`; \
+ rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ done
+
+install-data-local: install-icons update-icon-cache
+
+uninstall-local: uninstall-icons update-icon-cache
+