blob: bba29b0db3ed7e102435b74a3916923c31e8fdbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $OpenBSD: Makefile,v 1.3 2008/11/14 11:58:08 millert Exp $
.PATH: ${.CURDIR}/..
PROG= visudo
SRCS= pwutil.c visudo.c
BINDIR= /usr/sbin
CPPFLAGS+= -I..
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>
|