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
|
endef
|
||||||
|
|
||||||
ifeq ($(BUILD_MODE), release)
|
ifeq ($(BUILD_MODE), release)
|
||||||
CARGO_BUILD_ARGS += --release
|
CARGO_BUILD_ARGS += --release --offline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
include /usr/share/dpkg/default.mk
|
#include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
PACKAGE=libpmg-rs-perl
|
PACKAGE=libpmg-rs-perl
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ PM_FILES := \
|
|||||||
PMG/RS/TFA.pm
|
PMG/RS/TFA.pm
|
||||||
|
|
||||||
ifeq ($(BUILD_MODE), release)
|
ifeq ($(BUILD_MODE), release)
|
||||||
CARGO_BUILD_ARGS += --release
|
CARGO_BUILD_ARGS += --release --offline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@ -37,7 +37,7 @@ endif
|
|||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
cargo build --release
|
cargo build --release --offline
|
||||||
rsync -a debian Makefile Cargo.toml Cargo.lock src target PMG build/
|
rsync -a debian Makefile Cargo.toml Cargo.lock src target PMG build/
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
include /usr/share/dpkg/default.mk
|
#include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
PACKAGE=libpve-rs-perl
|
PACKAGE=libpve-rs-perl
|
||||||
export PERLMOD_PRODUCT=PVE
|
export PERLMOD_PRODUCT=PVE
|
||||||
@ -25,7 +25,7 @@ PM_FILES := \
|
|||||||
PVE/RS/TFA.pm
|
PVE/RS/TFA.pm
|
||||||
|
|
||||||
ifeq ($(BUILD_MODE), release)
|
ifeq ($(BUILD_MODE), release)
|
||||||
CARGO_BUILD_ARGS += --release
|
CARGO_BUILD_ARGS += --release --offline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@ -38,7 +38,7 @@ endif
|
|||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
cargo build --release
|
cargo build --release --offline
|
||||||
rsync -a debian Makefile Cargo.toml Cargo.lock src target PVE build/
|
rsync -a debian Makefile Cargo.toml Cargo.lock src target PVE build/
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
Loading…
Reference in New Issue
Block a user