On Wed, Nov 04, 2015 at 09:24:02AM -0800, Ben Fritz wrote: > On Wednesday, November 4, 2015 at 11:14:37 AM UTC-6, James McCoy wrote: > > On Wed, Nov 04, 2015 at 08:23:18PM +0900, Kuriyama Kazunobu wrote: > > > There remains one thing to complete the installation. > > > > > > After installing `*.desktop` files into the destination directory, > > > someones has > > > to update a cache file, called `mimeinfo.cache`, in that directory. > > > > I don't think that should be part of the Makefile. The Makefile should > > simply install things into the right place. > > > > I'd really expect "make install" to leave Vim all set up and ready to > go.
Vim is setup and ready to go. There's just a cache which some other programs may read that isn't updated. > Is there a reason this step shouldn't be done by the makefile? The makefile has no idea whether you're installing into a place that the running system actually cares about. You may be installing into a temporary directory in order to package up the results for distribution, and that shouldn't cause the mimeinfo.cache file of the running system to get updated with an irrelevant file. > If > not in the makefile, then when would this happen? Or will there need > to be an installation step *after* "make install" now? On the flip side, why should every author of a piece of software which includes a .desktop file have to cargo cult the same cache update call into their Makefile? This should be something that is handled by the broader system, and is when you install a distribution's package. If you're installing from a tarball/VCS, then yes you may have to jump through some more hoops. In fact, you already have by building the software yourself. Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
