~whynothugo/vdirsyncer-rs

ae4c94820fb509d317b45df550be0b714d7e3881 — Hugo Osvaldo Barrera a month ago 302be5c
Add build and install make targets
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