1
0
Fork 0

seperated build and install steps in Makefile

master 3
Raatty 2020-05-17 11:16:08 +12:00
parent c566c508ae
commit 914e62493a
1 changed files with 3 additions and 1 deletions

View File

@ -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