Give "make install" a default location it can actually install to, where

you can tar it up from to extract somewhere else if you like.
This commit is contained in:
Rob Landley 2022-04-03 18:25:43 -05:00
parent 5e7aef4d24
commit 5d0fcd04ff
2 changed files with 5 additions and 5 deletions

View File

@ -41,13 +41,13 @@ baseline: generated/unstripped/toybox
bloatcheck: generated/unstripped/toybox_old generated/unstripped/toybox
@scripts/bloatcheck generated/unstripped/toybox_old generated/unstripped/toybox
install_flat:
install_flat: toybox
scripts/install.sh --symlink --force
install_airlock:
install_airlock: toybox
scripts/install.sh --symlink --force --airlock
install:
install: toybox
scripts/install.sh --long --symlink --force
uninstall_flat:
@ -65,7 +65,7 @@ root_clean:
clean::
@chmod -fR 700 generated || true
@rm -rf toybox generated change .singleconfig*
@rm -rf toybox generated change install .singleconfig*
@echo cleaned
# If singlemake was in generated/ "make clean; make test_ls" wouldn't work.

View File

@ -4,7 +4,7 @@
source ./configure
[ -z "$PREFIX" ] && PREFIX="/usr/toybox"
[ -z "$PREFIX" ] && PREFIX="$PWD/install"
# Parse command line arguments.