as they aren't in mtree. Problem with wrong ownership and permission
of directories reported by sthen@.
ok deraadt@ sthen@ tb@
-# $OpenBSD: Makefile,v 1.7 2017/04/10 13:36:04 kettenis Exp $
+# $OpenBSD: Makefile,v 1.8 2017/04/12 07:57:06 jsg Exp $
.include <bsd.own.mk>
rm -f ${GEN}
install includes: ${HEADERS}
- ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${DIRMODE} \
- ${DESTDIR}${CLANG_INTR_INCDIR}
+.for dir in /usr/lib/clang /usr/lib/clang/${LLVM_V} ${CLANG_INTR_INCDIR}
+ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${DIRMODE} \
+ ${DESTDIR}${dir}
+.endfor
${INSTALL} ${INSTALL_COPY} -m 444 ${.ALLSRC} \
${DESTDIR}${CLANG_INTR_INCDIR}