diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-02 07:40:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-02 11:56:56 +0300 |
commit | 2608402e2bf194c5fa088dbbc8eac9d78cbf27fc (patch) | |
tree | 2f5b4d5597308eb9a2c23dd63baaaa58aae9ebb3 /debian/rules | |
parent | e4e40eb0cae0bd4a01e0cacf896095db6ac0d78d (diff) | |
download | jt2-2608402e2bf194c5fa088dbbc8eac9d78cbf27fc.tar.gz |
build: add Debian packaging
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2aece9a --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + true + +override_dh_auto_install: + cargo install --path=. --root=debian/jt2 + find debian/jt2 -name '.crates*' -delete + +override_dh_auto_test: + ./check |