]> git.armaanb.net Git - opendoas.git/blobdiff - Makefile
fix make install
[opendoas.git] / Makefile
index 59c4ee76d5d3824587243666f3b14a0657d17c6d..fa69b8c2b5612b2f4dce9aff8b01974e96d97f79 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,15 @@
 #      $OpenBSD: Makefile,v 1.9 2014/01/13 01:41:00 tedu Exp $
 
-SRCS=  parse.y doas.c
+SRCS=  parse.y doas.c env.c
 
 PROG=  doas
 MAN=   doas.1 doas.conf.5
 
 BINOWN= root
-BINGRP= wheel
-BINMODE=4511
+BINGRP= root
+BINMODE=4111
 
 CFLAGS+= -I${CURDIR}
 COPTS+= -Wall -Wextra -Werror -pedantic -std=c11
-LDFLAGS+= -lpam
 
 include bsd.prog.mk
-
-/etc/pam.d/doas: pam.d__doas
-       cp $< $@
-install: /etc/pam.d/doas