Module Name:    src
Committed By:   christos
Date:           Tue Dec 31 20:27:49 UTC 2024

Modified Files:
        src/etc/pam.d: Makefile

Log Message:
Use a suffix rule. I would have just commented out the skey entry instead,
since it is rarely used and we already do that for kerberos. We could now
use MKKERBEROS to enable it by default, since we have the machinery...


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/etc/pam.d/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/pam.d/Makefile
diff -u src/etc/pam.d/Makefile:1.12 src/etc/pam.d/Makefile:1.13
--- src/etc/pam.d/Makefile:1.12	Mon Dec 30 16:59:08 2024
+++ src/etc/pam.d/Makefile	Tue Dec 31 15:27:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2024/12/30 21:59:08 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2024/12/31 20:27:49 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -11,14 +11,16 @@ FILESMODE_README=444
 
 .for f in display_manager ftpd sshd su system
 FILESBUILD_$f=	yes
+.endfor
+
+.SUFFIXES: .in
 
-$f: $f.in
+.in:
 	${_MKTARGET_CREATE}
 .if ${MKSKEY} != "no"
-	cp $> $@
+	cp ${.IMPSRC} ${.TARGET}
 .else
-	${TOOL_SED} -e '/pam_skey/d' < $> > $@
+	${TOOL_SED} -e '/pam_skey/d' < ${.IMPSRC} > ${.TARGET}
 .endif
-.endfor
 
 .include <bsd.prog.mk>

Reply via email to