stop hard coding the sed path
This commit is contained in:
parent
48ff1a671e
commit
43c0b96405
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ DATADIR ?= $(PREFIX)/share
|
|||
CONFDIR = /etc
|
||||
|
||||
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 -Dm644 style.css interface.ui -t $(DESTDIR)$(DATADIR)/lightdm-mobile-greeter
|
||||
install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters
|
Loading…
Reference in New Issue