From fc6b72eaece88b0cd3d4e1e35392843911d00748 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 20 Jan 2011 10:36:03 +0100 Subject: =?UTF-8?q?add=20i3lock.pam=20(installed=20as=20/etc/pam.d/i3lock)?= =?UTF-8?q?=20which=20includes=20'login'=20(Thanks=20=D0=A1=D0=B5=D0=BC?= =?UTF-8?q?=D1=91=D0=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fc855e3..ab25d4e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ INSTALL=install PREFIX=/usr +SYSCONFDIR=/etc # Check if pkg-config is installed, we need it for building CFLAGS/LDFLAGS ifeq ($(shell which pkg-config 2>/dev/null 1>/dev/null || echo 1),1) @@ -39,7 +40,9 @@ clean: install: all $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin + $(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d $(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock + $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/i3lock -- cgit v1.1