7fa2f2a62f
As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
18 lines
372 B
Makefile
18 lines
372 B
Makefile
# $FreeBSD$
|
|
|
|
MK_WERROR= no
|
|
NO_WTHREAD_SAFETY= true
|
|
PACKAGE= unbound
|
|
|
|
.for man in ${MAN}
|
|
${man}: ${UNBOUNDDIR}/doc/${man:S/local-//}
|
|
sed -E \
|
|
-e 's/\<(fI)?u(nbound\>[^.])/\1local-u\2/g' \
|
|
-e 's/\<(fI)?U(nbound\>[^.])/\1Local-u\2/g' \
|
|
-e 's/\/local-unbound/\/unbound/g' \
|
|
<${.ALLSRC} >${.TARGET}
|
|
CLEANFILES += ${man}
|
|
.endfor
|
|
|
|
.include "../Makefile.inc"
|