commit 2f95d638e9c071f75a6bde9c6c8db344e6acf96d parent 965513a9a86bc450084a509c717990ba7950571f Author: Cem Keylan <cem@ckyln.com> Date: Tue, 21 Jan 2020 21:42:23 +0300 change call to dmenu when installing script only Diffstat:
M | Makefile | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -44,7 +44,9 @@ install: all chmod 755 $(DESTDIR)$(PREFIX)/bin/pinentry-dmenu pinentry-install: - install -Dm755 pinentry-dmenu $(DESTDIR)$(PREFIX)/bin/pinentry-dmenu + mkdir -p $(DESTDIR)$(PREFIX)/bin + sed 's#pinentry-dmenu-core#dmenu#g' < pinentry-dmenu > $(DESTDIR)$(PREFIX)/bin/pinentry-dmenu + chmod 755 $(DESTDIR)$(PREFIX)/bin/pinentry-dmenu uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/pinentry-dmenu-core