mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 01:35:24 +01:00
Add support for DESTDIR variable in make install.
This commit is contained in:
parent
dcec416d0f
commit
70d1fc4163
60 changed files with 147 additions and 163 deletions
|
|
@ -111,13 +111,13 @@ default_src_configure() {
|
|||
|
||||
# Default function for compiling source. It simply runs make without any parameters.
|
||||
default_src_compile() {
|
||||
make -f Makefile
|
||||
make -f Makefile PREFIX="${PREFIX}"
|
||||
}
|
||||
|
||||
# Default installing function. PREFIX should be set by run.sh script.
|
||||
# Note that upstream makefiles might ignore PREFIX and have to be configured in configure stage.
|
||||
default_src_install() {
|
||||
make -f Makefile install PREFIX="${PREFIX}"
|
||||
make -f Makefile install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
# Check if bash function exists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue