blob: e918bc6e2dce3bf7487384eef6fed5f666739870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: destdir.help,v 1.8 2016/04/10 15:15:45 joerg Exp $
#
# ===
# Warning: This file is still under construction. Don't rely on it.
# ===
#
# This file documents the variables around the DESTDIR support.
# During the build, package files are not installed directly into
# LOCALBASE, but a temporary directory under WRKDIR. Any direct change
# of LOCALBASE is a bug. A binary package is created from the content
# of that temporary directory and then installed normally with pkg_add.
#
# === Package-settable variables ===
#
# PKG_DESTDIR_SUPPORT
# * "user-destdir" means that all files of the packages should be
# installed with default ownership and permissions.
#
# * "destdir" means that some of the installed files need special
# ownership or permissions. The installation is done by the
# privileged user.
#
# This variable must be set before including bsd.prefs.mk directly or
# indirectly.
#
# === Implementation notes ===
#
# In the "stage-install" phase, the variable DESTDIR is set in the make(1)
# environment of the default "do-install" target. Additionally, the
# variable is passed in the INSTALL_MAKE_FLAGS to override potential
# "DESTDIR=" entries in the Makefiles.
#
# Keywords: destdir
|