blob: f2fb267c9fb052a1f576cf08d4bc998d7345f6a9 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.8 2017/02/01 12:32:54 christos Exp $
# Try to undo the doxygen lossage in the man pages.
HSRCS1= \
buffer_compat.h.3 \
dns.h.3 \
dns_compat.h.3 \
http.h.3 \
http_compat.h.3 \
rpc.h.3 \
rpc_compat.h.3 \
tag.h.3 \
tag_compat.h.3 \
thread.h.3 \
util.h.3
HMAN1=${HSRCS1:S/^/ev/g:S/.h.3/.3/g}
.for i in ${HSRCS1}
ev${i:S/.h.3/.3/g}: $i
${HOST_SH} ${.CURDIR}/fixman ${TOOL_SED} ${.ALLSRC} ${.TARGET}
.endfor
HSRCS2= \
bufferevent_ssl.h.3 \
event_compat.h.3
.for i in ${HSRCS2}
${i:S/.h.3/.3/g}: $i
${HOST_SH} ${.CURDIR}/fixman ${TOOL_SED} ${.ALLSRC} ${.TARGET}
.endfor
HMAN2=${HSRCS2:S/.h.3/.3/g}
SRCS1=deprecated.3
MAN1=${SRCS1:S/^/ev/g}
.for i in ${SRCS1}
ev$i: $i
${TOOL_SED} -e 's/"deprecated"/"evdeprecated"/g' \
-e 's/^deprecated/evdeprecated/g' < ${.ALLSRC} > ${.TARGET}
.endfor
evbuffer.h.3: buffer.h.3
cp ${.ALLSRC} ${.TARGET}
HMAN3=evbuffer.h.3
MAN+= \
bufferevent.3 \
bufferevent.h.3 \
evbuffer.3 \
evbuffer_cb_info.3 \
evbuffer_iovec.3 \
evbuffer_ptr.3 \
event.3 \
event.h.3 \
event_base.3 \
event_config.3 \
evthread_condition_callbacks.3 \
evthread_lock_callbacks.3 \
evutil_addrinfo.3 \
evutil_monotonic_timer.3
MAN+= ${HMAN1} ${HMAN2} ${HMAN3} ${MAN1}
CLEANFILES+=${HMAN1} ${HMAN2} ${HMAN3} ${MAN1}
USETBL= yes
.include <bsd.man.mk>
|