From 914e62493ae83e8b06ec084343c6109f82a4b071 Mon Sep 17 00:00:00 2001 From: Raatty Date: Sun, 17 May 2020 11:16:08 +1200 Subject: [PATCH] seperated build and install steps in Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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