From 2a1546aa74cb37069af4426bd95f5de10f72d2a5 Mon Sep 17 00:00:00 2001 From: evilbulgarian Date: Tue, 18 Oct 2016 13:13:00 -0700 Subject: [PATCH 1/2] fix destdir prefix for mandir.. need this fix to prevent sandbox errors in gentoo.. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 020beaa..99809c4 100644 --- a/Makefile +++ b/Makefile @@ -54,11 +54,11 @@ install: all $(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock gzip -kf i3lock.1 - $(INSTALL) -m 644 i3lock.1.gz $(MANDIR)/man1/i3lock.1.gz + $(INSTALL) -m 644 i3lock.1.gz $(DESTDIR)$(MANDIR)/man1/i3lock.1.gz uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/i3lock - rm -f $(MANDIR)/man1/i3lock.1.gz + rm -f $(DESTDIR)$(MANDIR)/man1/i3lock.1.gz dist: clean [ ! -d i3lock-${VERSION} ] || rm -rf i3lock-${VERSION} From 404bd743ae583ff81ee745f2f69a337992c37924 Mon Sep 17 00:00:00 2001 From: evilbulgarian Date: Tue, 18 Oct 2016 13:31:13 -0700 Subject: [PATCH 2/2] Update Makefile --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 99809c4..7aa712d 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,7 @@ clean: install: all $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin $(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d + $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 $(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock gzip -kf i3lock.1