tech-pkg archive

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

Re: Heads Up: make install



Was this change proposed somewhere?

What will be happened if do "make stage-install" without DESTDIR support?
How about "make reinstall" with DESTDIR support?

On Thu, 25 Feb 2010 08:00:01 +0900, Joerg Sonnenberger 
<joerg%britannica.bec.de@localhost> wrote:

Hi all,
the existing install target has been renamed to stage-install and a new
install target been introduced. The behavior depends on whether or not
the package is built with DESTDIR support.

Package supports DESTDIR and it is enabled:
"make install" works like "make package-install", e.g. the files are
installed to the staging area, the binary package is built and then
installed using pkg_add (as root, if necessary).

To install only to the staging area without building a binary package
run "make stage-install".

Package does not support DESTDIR or DESTDIR support is not enabled:
"make install" behaves like before, e.g. installs to PREFIX in the usual
mutable fashion.

Note for bulk builders: Please update to pbulk-0.46 if either
USE_DESTDIR=yes or PKG_DEVELOPER is set. Otherwise the installation will
fail due to insufficient permissions of the unprivileged user.

Joerg



--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index