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