diff --git a/Makefile b/Makefile index bb2cf85..85a6d06 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,9 @@ BINDIR ?= $(PREFIX)/bin DATADIR ?= $(PREFIX)/share CONFDIR = /etc -install: +target/release/lightdm-mobile-greeter: src/main.rs cargo build --release +build: target/release/lightdm-mobile-greeter +install: build install -Dm755 target/release/lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR) install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters