diff options
Diffstat (limited to 'kerberosV/Makefile.inc')
-rw-r--r-- | kerberosV/Makefile.inc | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/kerberosV/Makefile.inc b/kerberosV/Makefile.inc index fdf8c083a22..4f3c6c4db0f 100644 --- a/kerberosV/Makefile.inc +++ b/kerberosV/Makefile.inc @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.17 2013/06/21 17:02:20 robert Exp $ +# $OpenBSD: Makefile.inc,v 1.18 2013/07/01 05:15:23 ajacoutot Exp $ KRB5DIR= ${.CURDIR}/../../../kerberosV/src +KRB5SUBST= ${KRB5DIR}/../varsub CFLAGS+= -DHAVE_CONFIG_H -DNO_NTLM -I${.CURDIR}/../../include -I/usr/include/kerberosV @@ -36,6 +37,22 @@ CLEANFILES+= ${_ET}.h ${_ET}.c .endif # defined(SRCS) +.if defined(MPAGES) + +MAN += ${MPAGES:S@^@${.OBJDIR}/@} +CLEANFILES += ${MAN} + +. for PAGE in ${MPAGES} +. for dir in ${MSRC} +. if exists(${dir}/${PAGE:T}) +${PAGE}: ${dir}/${PAGE:T} + sed -f ${KRB5SUBST} ${dir}/${PAGE:T} >$@.tmp && mv $@.tmp $@ +. endif +. endfor +. endfor + +.endif # defined(MPAGES) + ASN1_COMPILE= asn1_compile SLC= slc COMPILE_ET= compile_et |