Home | History | Annotate | Line # | Download | only in certctl
      1 #	$NetBSD: Makefile,v 1.3 2023/09/03 18:31:01 riastradh Exp $
      2 #
      3 
      4 MAN=		certctl.8
      5 SCRIPTS=	certctl.sh
      6 
      7 # XXX This is a hack to install certs.conf both in /etc/openssl (in the
      8 # etc set) and in /usr/share/examples/certctl (in the base set).
      9 # Really, all files in /etc should have /usr/share/examples versions;
     10 # once you arrange the build to do that, you can get rid of this hack.
     11 etc-certs.conf base-certs.conf: certs.conf
     12 	cat ${.ALLSRC} >${.TARGET}.tmp
     13 	${MV} -f ${.TARGET}.tmp ${.TARGET}
     14 
     15 CONFIGFILES+=	etc-certs.conf
     16 FILESBUILD_etc-certs.conf=	yes
     17 FILESDIR_etc-certs.conf=	/etc/openssl
     18 FILESNAME_etc-certs.conf=	certs.conf
     19 FILESMODE_etc-certs.conf=	644
     20 
     21 FILES+=		base-certs.conf
     22 FILESBUILD_base-certs.conf=	yes
     23 FILESDIR_base-certs.conf=	/usr/share/examples/certctl
     24 FILESNAME_base-certs.conf=	certs.conf
     25 
     26 .include <bsd.prog.mk>
     27