mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 08:45:23 +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
|
|
@ -18,10 +18,3 @@ src_prepare() {
|
|||
touch lib/configmake.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -f Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make -f Makefile install PREFIX="${PREFIX}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ CC = tcc
|
|||
LD = tcc
|
||||
AR = tcc -ar
|
||||
|
||||
bindir=/after/bin
|
||||
bindir=$(DESTDIR)$(PREFIX)/bin
|
||||
|
||||
CFLAGS = -I . -I lib \
|
||||
-DPACKAGE=\"$(PACKAGE)\" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue