File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,20 @@ CARGO ?= cargo
2727CARGOFLAGS ?=
2828RUSTC_ARCH ?= # should be empty except for cross-build, not --target $(shell rustc --print host-tuple)
2929
30+ # prefix appended to all binaries and library dir
31+ PROG_PREFIX ?=
32+
3033# Install directories
3134PREFIX ?= /usr/local
3235DESTDIR ?=
3336BINDIR ?= $(PREFIX ) /bin
3437DATAROOTDIR ?= $(PREFIX ) /share
35- LIBSTDBUF_DIR ?= $(PREFIX ) /libexec/coreutils
38+ LIBSTDBUF_DIR ?= $(PREFIX ) /libexec/$( PROG_PREFIX ) coreutils
3639# Export variable so that it is used during the build
3740export LIBSTDBUF_DIR
3841
3942INSTALLDIR_BIN =$(DESTDIR )$(BINDIR )
4043
41- # prefix to apply to coreutils binary and all tool binaries
42- PROG_PREFIX ?=
43-
4444# This won't support any directory with spaces in its name, but you can just
4545# make a symlink without spaces that points to the directory.
4646BASEDIR ?= $(shell pwd)
You can’t perform that action at this time.
0 commit comments