b177a0f098
In destdir mode (the default), make replace creates the replacement binary package without modifying the installed system, and then installs it via pkg_add -u. Thus, the new package is known to have built and packaged ok before the system is changed, and the risk of trouble is low; thus the benefit of tarring up the installed package is very low, especially since the newly-tarred-up package is removed by "make clean". Using pkg_tarup costs cycles to run and more importantly causes users to have to install it since it is not an automatic dependency. In addition, binary packages are now kept by default when building, so the old version should be accessible in case of trouble. This commit does not change the non-destdir case. Almost no one uses that method, and the relative benefit of tarup is much higher. |
||
---|---|---|
.. | ||
check.mk | ||
deinstall.mk | ||
depends.mk | ||
install.mk | ||
list-dependencies | ||
metadata.mk | ||
package.mk | ||
pkgformat-vars.mk | ||
pkgformat.mk | ||
reduce-depends.awk | ||
reduce-resolved-depends.awk | ||
register-dependencies | ||
replace.mk | ||
resolve-dependencies | ||
utility.mk |