fix destdir prefix for mandir..

need this fix to prevent sandbox errors in gentoo..
This commit is contained in:
evilbulgarian 2016-10-18 13:13:00 -07:00 committed by GitHub
parent ef003b76c2
commit 2a1546aa74
1 changed files with 2 additions and 2 deletions

View File

@ -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}