Cross Reference: Makefile
xref: /src/usr.sbin/certctl/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/certctl/
11.3Sriastrad#	$NetBSD: Makefile,v 1.3 2023/09/03 18:31:01 riastradh Exp $
21.1Sriastrad#
31.1Sriastrad
41.1SriastradMAN=		certctl.8
51.1SriastradSCRIPTS=	certctl.sh
61.1Sriastrad
71.3Sriastrad# XXX This is a hack to install certs.conf both in /etc/openssl (in the
81.3Sriastrad# etc set) and in /usr/share/examples/certctl (in the base set).
91.3Sriastrad# Really, all files in /etc should have /usr/share/examples versions;
101.3Sriastrad# once you arrange the build to do that, you can get rid of this hack.
111.3Sriastradetc-certs.conf base-certs.conf: certs.conf
121.3Sriastrad	cat ${.ALLSRC} >${.TARGET}.tmp
131.3Sriastrad	${MV} -f ${.TARGET}.tmp ${.TARGET}
141.3Sriastrad
151.3SriastradCONFIGFILES+=	etc-certs.conf
161.3SriastradFILESBUILD_etc-certs.conf=	yes
171.3SriastradFILESDIR_etc-certs.conf=	/etc/openssl
181.3SriastradFILESNAME_etc-certs.conf=	certs.conf
191.3SriastradFILESMODE_etc-certs.conf=	644
201.3Sriastrad
211.3SriastradFILES+=		base-certs.conf
221.3SriastradFILESBUILD_base-certs.conf=	yes
231.3SriastradFILESDIR_base-certs.conf=	/usr/share/examples/certctl
241.3SriastradFILESNAME_base-certs.conf=	certs.conf
251.1Sriastrad
261.1Sriastrad.include <bsd.prog.mk>
27

Indexes created Mon Nov 10 17:20:41 GMT 2025