seperated build and install steps in Makefile
This commit is contained in:
4
Makefile
4
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
|
||||
|
Reference in New Issue
Block a user