seperated build and install steps in Makefile
This commit is contained in:
parent
c566c508ae
commit
914e62493a
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
|
||||
|
|
Loading…
Reference in New Issue