update Makefile
This commit is contained in:
parent
a483f7475e
commit
65c34958ec
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ $(shell echo "$(1)" | tr '[:lower:]' '[:upper:]')
|
||||
endef
|
||||
|
||||
ifeq ($(BUILD_MODE), release)
|
||||
CARGO_BUILD_ARGS += --release
|
||||
CARGO_BUILD_ARGS += --release --offline
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
|
@ -1,4 +1,4 @@
|
||||
include /usr/share/dpkg/default.mk
|
||||
#include /usr/share/dpkg/default.mk
|
||||
|
||||
PACKAGE=libpmg-rs-perl
|
||||
|
||||
@ -24,7 +24,7 @@ PM_FILES := \
|
||||
PMG/RS/TFA.pm
|
||||
|
||||
ifeq ($(BUILD_MODE), release)
|
||||
CARGO_BUILD_ARGS += --release
|
||||
CARGO_BUILD_ARGS += --release --offline
|
||||
endif
|
||||
|
||||
all:
|
||||
@ -37,7 +37,7 @@ endif
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf build
|
||||
cargo build --release
|
||||
cargo build --release --offline
|
||||
rsync -a debian Makefile Cargo.toml Cargo.lock src target PMG build/
|
||||
|
||||
.PHONY: install
|
||||
|
@ -1,4 +1,4 @@
|
||||
include /usr/share/dpkg/default.mk
|
||||
#include /usr/share/dpkg/default.mk
|
||||
|
||||
PACKAGE=libpve-rs-perl
|
||||
export PERLMOD_PRODUCT=PVE
|
||||
@ -25,7 +25,7 @@ PM_FILES := \
|
||||
PVE/RS/TFA.pm
|
||||
|
||||
ifeq ($(BUILD_MODE), release)
|
||||
CARGO_BUILD_ARGS += --release
|
||||
CARGO_BUILD_ARGS += --release --offline
|
||||
endif
|
||||
|
||||
all:
|
||||
@ -38,7 +38,7 @@ endif
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf build
|
||||
cargo build --release
|
||||
cargo build --release --offline
|
||||
rsync -a debian Makefile Cargo.toml Cargo.lock src target PVE build/
|
||||
|
||||
.PHONY: install
|
||||
|
Loading…
Reference in New Issue
Block a user