# $OpenBSD: Makefile,v 1.2 2007/07/26 16:10:16 millert Exp $ .PATH: ${.CURDIR}/.. PROG= visudo BINDIR= /usr/sbin POD2MAN=/usr/bin/pod2man MAN= visudo.8 VERSION!=uname -rs MANDATE!=date '+%B %e, %Y' CLEANFILES+= ${MAN} visudo.8: visudo.pod sed -f ${.CURDIR}/../varsub ${.ALLSRC} | ${POD2MAN} --quotes=none \ --name="VISUDO" --section=8 --release="${VERSION}" \ --date="${MANDATE}" --center="OpenBSD Reference Manual" | \ sed '1s/^/.if n .ll 78n /' > $@ afterdepend: ${MAN} .include