* martin f krafft <[EMAIL PROTECTED]> [060801 18:17]: > also sprach Bernhard R. Link <[EMAIL PROTECTED]> [2006.08.01.1701 +0100]: > > Missing $(DESTDIR)s in Makefiles are an example. Especially when the > > install part was DESTDIRified, but the test before if the file is > > already there (as make install does not want to overwrite a config file) > > was forgotten. > > This leads to a corrupt package when build on a system where the package > > is already installed, i.e. is hidden away in any clean chroot. > > This makes zero sense to me.
Consider (in Makefile.in): install: [...] [...] -if [ ! -f $(sysconfdir)/Bla ]; then \ $(INSTALL) -m644 $(srcdir)/Bla $(DESTDIR)$(sysconfdir)/Bla \ fi This is clearly a bug, most likely someone added DESTDIR later and forgot it in the test. But unless that package build depends on itself, you will never find it when building in a clean chroot. Hochachtungsvoll, Bernhard R. Link -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]