27 lines
831 B
Makefile
27 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.3 2023/09/03 18:31:01 riastradh Exp $
|
|
#
|
|
|
|
MAN= certctl.8
|
|
SCRIPTS= certctl.sh
|
|
|
|
# XXX This is a hack to install certs.conf both in /etc/openssl (in the
|
|
# etc set) and in /usr/share/examples/certctl (in the base set).
|
|
# Really, all files in /etc should have /usr/share/examples versions;
|
|
# once you arrange the build to do that, you can get rid of this hack.
|
|
etc-certs.conf base-certs.conf: certs.conf
|
|
cat ${.ALLSRC} >${.TARGET}.tmp
|
|
${MV} -f ${.TARGET}.tmp ${.TARGET}
|
|
|
|
CONFIGFILES+= etc-certs.conf
|
|
FILESBUILD_etc-certs.conf= yes
|
|
FILESDIR_etc-certs.conf= /etc/openssl
|
|
FILESNAME_etc-certs.conf= certs.conf
|
|
FILESMODE_etc-certs.conf= 644
|
|
|
|
FILES+= base-certs.conf
|
|
FILESBUILD_base-certs.conf= yes
|
|
FILESDIR_base-certs.conf= /usr/share/examples/certctl
|
|
FILESNAME_base-certs.conf= certs.conf
|
|
|
|
.include <bsd.prog.mk>
|