na_updater_is_item_writable is renamed as na_updater_check_item_writability_status
[nautilus-actions.git] / icons / Makefile.am
blob4e23847e155cae5e8d2baab2b754161b3a975e61
1 # Nautilus-Actions
2 # A Nautilus extension which offers configurable context menu actions.
4 # Copyright (C) 2005 The GNOME Foundation
5 # Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
6 # Copyright (C) 2009, 2010, 2011 Pierre Wieser and others (see AUTHORS)
8 # This Program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
13 # This Program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public
19 # License along with this Library; see the file COPYING.  If not,
20 # write to the Free Software Foundation, Inc., 59 Temple Place,
21 # Suite 330, Boston, MA 02111-1307, USA.
23 # Authors:
24 #   Frederic Ruaudel <grumz@grumz.net>
25 #   Rodrigo Moya <rodrigo@gnome-db.org>
26 #   Pierre Wieser <pwieser@trychlos.org>
27 #   ... and many others (see AUTHORS)
29 SUBDIRS = \
30         16x16                                                           \
31         22x22                                                           \
32         32x32                                                           \
33         48x48                                                           \
34         scalable                                                        \
35         $(NULL)
37 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
39 install-data-hook: update-icon-cache
41 uninstall-hook: update-icon-cache
43 update-icon-cache:
44         @-if test -z "$(DESTDIR)"; then \
45                 echo "Updating Gtk icon cache."; \
46                 $(gtk_update_icon_cache); \
47         else \
48                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
49                 echo "***   $(gtk_update_icon_cache)"; \
50         fi