File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,16 @@ prefix ?= /usr
3030# the code is really tiny.
3131# (Note we should also make installation of the units conditional on the rhsm feature)
3232CARGO_FEATURES ?= $(shell . /usr/lib/os-release; if echo "$$ID_LIKE" |grep -qF rhel; then echo rhsm; fi)
33+ CARGO_PROFILE ?= release
3334
3435all : bin manpages
3536
3637bin :
37- cargo build --release --features " $( CARGO_FEATURES) "
38+ cargo build --profile $( CARGO_PROFILE ) --features " $( CARGO_FEATURES) "
3839
3940.PHONY : manpages
4041manpages :
41- cargo run --package xtask -- manpages
42+ cargo run --profile $( CARGO_PROFILE ) -- package xtask -- manpages
4243
4344STORAGE_RELATIVE_PATH ?= $(shell realpath -m -s --relative-to="$(prefix ) /lib/bootc/storage" /sysroot/ostree/bootc/storage)
4445install :
You can’t perform that action at this time.
0 commit comments