This commit is contained in:
2022-12-30 20:55:14 +08:00
parent 5a9c09d673
commit 118d6a5a1d
53 changed files with 4720 additions and 1 deletions

19
debian/rules vendored Executable file
View File

@@ -0,0 +1,19 @@
#! /usr/bin/make -f
%:
dh $@
override_dh_auto_build:
@if ! command -v cargo >/dev/null; then \
echo "Rust is not installed ("cargo" command not found)" >&2; \
exit 1; fi
cargo build --release
override_dh_auto_clean:
override_dh_installsystemd:
override_dh_installinit:
dh_installinit --name webdav-server
dh_installsystemd --name webdav-server