feat: clone from https://github.com/miquels/webdav-server-rs
This commit is contained in:
19
debian/rules
vendored
Executable file
19
debian/rules
vendored
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user