1 files changed, 10 insertions(+), 0 deletions(-)
M Makefile
M Makefile => Makefile +10 -0
@@ 1,3 1,13 @@
+DESTDIR?=/
+PREFIX?=/usr/local
+
+build:
+ cargo build -p vdirsyncer --release
+
+.PHONY: install
+install: build
+ @install -Dm755 target/release/vdirsyncer ${DESTDIR}${PREFIX}/bin/vdirsyncer
+
check:
cargo build
cargo fmt --check