openpgp-card/tools/debian/rules
Lars Wirzenius f8d7ea86cc
Add rudimentary, ugly Debian packaging
Someone should do this right, and upload the result to Debian.
2022-07-19 11:15:36 +03:00

23 lines
425 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@ --buildsystem cargo
override_dh_auto_clean:
echo auto clean
override_dh_auto_configure:
echo auto configure
override_dh_auto_build:
cargo --version
rustc --version
cargo build --release
override_dh_auto_test:
true
override_dh_auto_install:
install -d debian/openpgp-card-tool/bin
cargo install --locked --path=. --root=debian/openpgp-card-tool
find debian -name ".crates*" -delete