proxmox-backup/Makefile

25 lines
414 B
Makefile
Raw Normal View History

2018-11-30 12:39:40 +00:00
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
2018-12-01 10:19:46 +00:00
rsync -a debian Cargo.lock Cargo.toml src www target build
2018-11-30 12:39:40 +00:00
cd build; dpkg-buildpackage -b -us -uc
clean:
cargo clean
rm -rf *.deb *.buildinfo *.changes build
find . -name '*~' -exec rm {} ';'