[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtk-update-icon-cahce, update-mime-database

From: Bernd Jendrissek
Subject: Re: gtk-update-icon-cahce, update-mime-database
Date: Fri, 1 Feb 2008 12:40:40 +0200

On Feb 1, 2008 8:06 AM, Yevgen Muntyan <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]