Cut new release with debian builds

This commit is contained in:
Luke
2020-05-02 20:55:32 +12:00
parent f12bb1d4f6
commit b5c7a47249
12 changed files with 95 additions and 3 deletions

21
debian/rules vendored Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/make -f
export VENDORED ?= 1
CLEAN ?= 1
%:
dh $@ --with=systemd
override_dh_auto_build:
env CARGO_HOME="$$(pwd)/target/cargo" \
dh_auto_build
override_dh_auto_clean:
ifeq ($(CLEAN),1)
make clean
endif
ifeq ($(VENDORED),1)
if ! ischroot; then \
make vendor; \
fi
endif