Don't update the icon cache if DESTDIR is non-empty.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 1 Mar 2012 20:21:44 +0000 (21:21 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 1 Mar 2012 20:21:44 +0000 (21:21 +0100)
commit909400c0bb16e67779bef29b1a2a2ec885a3dd12
tree2f00841078e01333c7c88ede32cebd7ba982509e
parent12cf8aad2c2d360f7275db00f8fde7d0f0e26ec9
Don't update the icon cache if DESTDIR is non-empty.

Packagers generally use "make install DESTDIR=xxx" to generate their install
files, which are then copied in place to the target filesystem.  In such a
scenario, it's inappropriate to copy the icon.cache files.  This change
therefore does not update the icon cache if a DESTDIR has been specified.
Instead it's left to the packager to make his own arrangements for updating
the icon cache on the target filesystem.
src/ui/gui/automake.mk