diff options
author | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 13:10:42 +0200 |
---|---|---|
committer | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 13:10:42 +0200 |
commit | cf7d885d901b0abdccaad5cc3305a080744eaf5b (patch) | |
tree | bf56ba367a8a872dc562fcf8cce9af6aebae67af /data/icons/Makefile.am |
Imported Upstream version 0.9.10upstream/0.9.10
Diffstat (limited to 'data/icons/Makefile.am')
-rw-r--r-- | data/icons/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 0000000..89fcfab --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,27 @@ +icons = \ + hicolor_actions_16x16_object-crop.png \ + hicolor_actions_22x22_object-crop.png \ + hicolor_actions_24x24_object-crop.png \ + hicolor_actions_48x48_object-crop.png \ + hicolor_actions_scalable_object-crop.svg + +install-data-local: + for icon in $(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-local: + for icon in $(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 + +EXTRA_DIST = $(icons) |