From 43c0b96405c288c54216902e07a812cf672003b5 Mon Sep 17 00:00:00 2001 From: Raatty Date: Thu, 26 Mar 2020 12:06:05 +1300 Subject: [PATCH] stop hard coding the sed path --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9459169..7839ecb 100644 --- a/Makefile +++ b/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 \ No newline at end of file