mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-02-26 21:57:33 +03:00
22 lines
332 B
Makefile
22 lines
332 B
Makefile
|
VERSION=0.1
|
||
|
PACKAGE=api-test-server
|
||
|
PKGREL=1
|
||
|
|
||
|
|
||
|
all: target/release/api-test-server
|
||
|
|
||
|
target/release/api-test-server:
|
||
|
cargo build --release
|
||
|
|
||
|
deb:
|
||
|
rm -rf build
|
||
|
# build here to cache results
|
||
|
cargo build --release
|
||
|
rsync -a debian Cargo.lock Cargo.toml src target build
|
||
|
cd build; dpkg-buildpackage -b -us -uc
|
||
|
|
||
|
|
||
|
|
||
|
clean:
|
||
|
cargo clean
|