1
0

rust rewrite finished maybe?

This commit is contained in:
2020-04-26 21:53:46 +12:00
parent 08a90cdf07
commit 2999921e29
4 changed files with 713 additions and 5 deletions

View File

@@ -4,7 +4,6 @@ DATADIR ?= $(PREFIX)/share
CONFDIR = /etc
install:
sed "s#%DATADIR%#$(DATADIR)#" lightdm-mobile-greeter.py > lightdm-mobile-greeter
install -Dm755 lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR)
install -Dm644 style.css interface.ui -t $(DESTDIR)$(DATADIR)/lightdm-mobile-greeter
RUSTFLAGS="-C link-arg=-s" cargo build --release
install -Dm755 target/release/lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR)
install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters