On Feb 1, 2008 8:06 AM, Yevgen Muntyan <[EMAIL PROTECTED]> wrote:
> I am seeking an advice on the following. Gtk applications
> which have icons should install them into
> /usr/share/icons/hicolor/somesize/somewhere
> and then call gtk-update-icon-cache (see below [*]
> for a sample of makefile rules). This should be done
> on install and uninstall. Similarly, if an application
> has files for mime database, it should install those
> files into /usr/share/mime/packages/ and then run
> update-mime-database, also on install and uninstall.

Many packages have this requirement to do some stuff after installing
their files.  IMHO "make install" is not the right place to do these; by
putting these post-install actions in the "install" target, many packages
break on DESTDIR installs.

I would like to see automake one day support, say, "make postinstall"
that one could capture in a packaging system build script as
"make -n postinstall >package.postinstall".


Reply via email to