[gnome-games] aisleriot: Move private icons to aisleriot
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: Move private icons to aisleriot
- Date: Thu, 7 Apr 2011 12:38:33 +0000 (UTC)
commit d7cc30222883b891f6bf22f18e6462d3b496e093
Author: Christian Persch <chpe gnome org>
Date: Tue Apr 5 18:08:54 2011 +0200
aisleriot: Move private icons to aisleriot
aisleriot/icons/Makefile.am | 37 ++++++++++++++++++++
.../icons}/hicolor_actions_16x16_cards-deal.png | Bin 744 -> 744 bytes
.../icons}/hicolor_actions_22x22_cards-deal.png | Bin 1107 -> 1107 bytes
.../icons}/hicolor_actions_24x24_cards-deal.png | Bin 1826 -> 1826 bytes
.../icons}/hicolor_actions_32x32_cards-deal.png | Bin 1650 -> 1650 bytes
.../icons}/hicolor_actions_48x48_cards-deal.png | Bin 2709 -> 2709 bytes
.../icons}/hicolor_actions_scalable_cards-deal.svg | 0
icons/Makefile.am | 9 +----
8 files changed, 38 insertions(+), 8 deletions(-)
---
diff --git a/aisleriot/icons/Makefile.am b/aisleriot/icons/Makefile.am
index c5154dc..ba737d4 100644
--- a/aisleriot/icons/Makefile.am
+++ b/aisleriot/icons/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
SUBDIRS =
if HAVE_HILDON
@@ -6,4 +8,39 @@ else
SUBDIRS += gnome
endif
+private_icons = \
+ hicolor_actions_16x16_cards-deal.png \
+ hicolor_actions_22x22_cards-deal.png \
+ hicolor_actions_24x24_cards-deal.png \
+ hicolor_actions_32x32_cards-deal.png \
+ hicolor_actions_48x48_cards-deal.png \
+ hicolor_actions_scalable_cards-deal.svg \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(private_icons) \
+ $(NULL)
+
+install-private-icons:
+ 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-private-icons:
+ 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-private-icons
+uninstall-local: uninstall-private-icons
+
-include $(top_srcdir)/git.mk
diff --git a/icons/hicolor_actions_16x16_cards-deal.png b/aisleriot/icons/hicolor_actions_16x16_cards-deal.png
similarity index 100%
rename from icons/hicolor_actions_16x16_cards-deal.png
rename to aisleriot/icons/hicolor_actions_16x16_cards-deal.png
diff --git a/icons/hicolor_actions_22x22_cards-deal.png b/aisleriot/icons/hicolor_actions_22x22_cards-deal.png
similarity index 100%
rename from icons/hicolor_actions_22x22_cards-deal.png
rename to aisleriot/icons/hicolor_actions_22x22_cards-deal.png
diff --git a/icons/hicolor_actions_24x24_cards-deal.png b/aisleriot/icons/hicolor_actions_24x24_cards-deal.png
similarity index 100%
rename from icons/hicolor_actions_24x24_cards-deal.png
rename to aisleriot/icons/hicolor_actions_24x24_cards-deal.png
diff --git a/icons/hicolor_actions_32x32_cards-deal.png b/aisleriot/icons/hicolor_actions_32x32_cards-deal.png
similarity index 100%
rename from icons/hicolor_actions_32x32_cards-deal.png
rename to aisleriot/icons/hicolor_actions_32x32_cards-deal.png
diff --git a/icons/hicolor_actions_48x48_cards-deal.png b/aisleriot/icons/hicolor_actions_48x48_cards-deal.png
similarity index 100%
rename from icons/hicolor_actions_48x48_cards-deal.png
rename to aisleriot/icons/hicolor_actions_48x48_cards-deal.png
diff --git a/icons/hicolor_actions_scalable_cards-deal.svg b/aisleriot/icons/hicolor_actions_scalable_cards-deal.svg
similarity index 100%
rename from icons/hicolor_actions_scalable_cards-deal.svg
rename to aisleriot/icons/hicolor_actions_scalable_cards-deal.svg
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 43c9618..fcb4bfd 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -153,14 +153,7 @@ dist_noinst_DATA += \
$(NULL)
endif
-private_icons = \
- hicolor_actions_16x16_cards-deal.png \
- hicolor_actions_22x22_cards-deal.png \
- hicolor_actions_24x24_cards-deal.png \
- hicolor_actions_32x32_cards-deal.png \
- hicolor_actions_48x48_cards-deal.png \
- hicolor_actions_scalable_cards-deal.svg \
- $(NULL)
+private_icons =
if BUILD_GNOBOTS2
private_icons += \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]