update Makefile

This commit is contained in:
Алексей Шабалин 2022-03-06 14:26:11 +03:00
parent a483f7475e
commit 65c34958ec
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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