add i3lock.pam (installed as /etc/pam.d/i3lock) which includes 'login' (Thanks Семён)
This commit is contained in:
parent
53987df490
commit
fc6b72eaec
3
Makefile
3
Makefile
|
@ -1,5 +1,6 @@
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
SYSCONFDIR=/etc
|
||||||
|
|
||||||
# Check if pkg-config is installed, we need it for building CFLAGS/LDFLAGS
|
# 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)
|
ifeq ($(shell which pkg-config 2>/dev/null 1>/dev/null || echo 1),1)
|
||||||
|
@ -39,7 +40,9 @@ clean:
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d
|
||||||
$(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock
|
$(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock
|
||||||
|
$(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/i3lock
|
rm -f $(DESTDIR)$(PREFIX)/bin/i3lock
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#
|
||||||
|
# PAM configuration file for the i3lock screen locker. By default, it includes
|
||||||
|
# the 'login' configuration file (see /etc/pam.d/login)
|
||||||
|
#
|
||||||
|
|
||||||
|
@include login
|
Loading…
Reference in New Issue