Module Name: src Committed By: christos Date: Wed Dec 29 18:13:43 UTC 2021
Modified Files: src/external/bsd/openldap/sbin/slapd: Makefile Log Message: build the rest of the tools. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/bsd/openldap/sbin/slapd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/openldap/sbin/slapd/Makefile diff -u src/external/bsd/openldap/sbin/slapd/Makefile:1.1 src/external/bsd/openldap/sbin/slapd/Makefile:1.2 --- src/external/bsd/openldap/sbin/slapd/Makefile:1.1 Tue Dec 28 12:05:44 2021 +++ src/external/bsd/openldap/sbin/slapd/Makefile Wed Dec 29 13:13:43 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2021/12/28 17:05:44 christos Exp $ +# $NetBSD: Makefile,v 1.2 2021/12/29 18:13:43 christos Exp $ .include <bsd.init.mk> @@ -10,6 +10,12 @@ CPPFLAGS+=-I${SLAPD} -I${SLAPD}/back-mon MAN=slapd.8 slapd.conf.5 PROG = slapd +TOOLS=slapadd slapcat slapdn slapindex slapmodify slappasswd slaptest \ + slapauth slapacl slapschema +.for tool in ${TOOLS} +LINKS+= ${BINDIR}/slapd ${BINDIR}/${tool} +MAN+=${tool}.8 +.endfor SRCS += \ main.c globals.c bconfig.c config.c daemon.c \ @@ -42,13 +48,19 @@ PROGDPLIBS+= \ __makeman: .USE ${_MKTARGET_CREATE} - ${TOOL_SED} -e s@LIBEXECDIR@/usr/sbin@g \ + ${TOOL_SED} \ + -e s@LOCALSTATEDIR@/var@g \ + -e s@SYSCONFDIR@/etc/openldap@g \ + -e s@DATADIR@/usr/share@g \ + -e s@SBINDIR@/usr/sbin@g \ + -e s@BINDIR@/usr/bin@g \ + -e s@LIBDIR@/usr/lib@g \ + -e s@LIBEXECDIR@/usr/sbin@g \ + -e s@MODULEDIR@/usr/lib/openldap@g \ -e s@ETCDIR@/etc/openldap@g ${.ALLSRC} > ${.TARGET} -slapd.8: ${LDAP_DISTDIR}/doc/man/man8/slapd.8 __makeman -slapd.conf.5: ${LDAP_DISTDIR}/doc/man/man5/slapd.conf.5 __makeman - - -CLEANFILES+= slapd.8 +.for man in ${MAN} +${man}: ${LDAP_DISTDIR}/doc/man/man${man:E}/${man} __makeman +.endfor .include <bsd.prog.mk>