1
0
Fork 0

stop hard coding the sed path

This commit is contained in:
Raatty 2020-03-26 12:06:05 +13:00
parent 48ff1a671e
commit 43c0b96405
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ DATADIR ?= $(PREFIX)/share
CONFDIR = /etc CONFDIR = /etc
install: install:
sed "s/%DATADIR%/\/usr\/share/" lightdm-mobile-greeter.py > lightdm-mobile-greeter sed "s#%DATADIR%#$(DATADIR)#" lightdm-mobile-greeter.py > lightdm-mobile-greeter
install -Dm755 lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR) install -Dm755 lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR)
install -Dm644 style.css interface.ui -t $(DESTDIR)$(DATADIR)/lightdm-mobile-greeter install -Dm644 style.css interface.ui -t $(DESTDIR)$(DATADIR)/lightdm-mobile-greeter
install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters