PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin DATADIR ?= $(PREFIX)/share CONFDIR = /etc install: RUSTFLAGS="-C link-arg=-s" cargo build --release install -Dm755 target/release/lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR) install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters