In a packaging/buildfarm environment, 'make install' goes to a staging location (via DESTDIR=...). Because it's not the "live" target system, it also must not add alter the various databases on the local machine. In pybliographer-1.2.15, 'make install' unconditionally runs the Makefile recipe:
update-desktop-database $(DESTDIR)$(appdir) \ || echo "**** Warning: cannot update mime cache (recommended for Gnome >= 2.8)"
This action needs to be disablable somehow. Many packages have a ./configure --disable-update-desktop-database or similar flag. An alternative that other packages do is to assume that if DESTDIR is used, it's building on a non-target machine, and so running u-d-d could be protected by a shell-test for that variable being blank.
Log in to post a comment.