blob: db29a20fd4e6ab50d369d50692d430b94720eb26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $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 <bsd.prog.mk>
|