1 1.5 wiz # $NetBSD: Makefile,v 1.5 2014/04/19 08:03:21 wiz Exp $ 2 1.1 christos 3 1.1 christos # Try to undo the doxygen lossage in the man pages. 4 1.1 christos 5 1.1 christos HSRCS1= \ 6 1.1 christos buffer.h.3 \ 7 1.1 christos buffer_compat.h.3 \ 8 1.1 christos dns.h.3 \ 9 1.1 christos dns_compat.h.3 \ 10 1.1 christos http.h.3 \ 11 1.1 christos http_compat.h.3 \ 12 1.1 christos rpc.h.3 \ 13 1.1 christos rpc_compat.h.3 \ 14 1.1 christos tag.h.3 \ 15 1.1 christos tag_compat.h.3 \ 16 1.1 christos thread.h.3 \ 17 1.1 christos util.h.3 18 1.1 christos 19 1.1 christos HMAN1=${HSRCS1:S/^/ev/g:S/.h.3/.3/g} 20 1.1 christos 21 1.1 christos .for i in ${HSRCS1} 22 1.1 christos ev${i:S/.h.3/.3/g}: $i 23 1.3 christos ${HOST_SH} ${.CURDIR}/fixman ${TOOL_SED} ${.ALLSRC} ${.TARGET} 24 1.1 christos .endfor 25 1.1 christos 26 1.1 christos HSRCS2= \ 27 1.1 christos bufferevent_ssl.h.3 \ 28 1.1 christos event.h.3 \ 29 1.1 christos event_compat.h.3 30 1.1 christos 31 1.1 christos .for i in ${HSRCS2} 32 1.1 christos ${i:S/.h.3/.3/g}: $i 33 1.4 christos ${HOST_SH} ${.CURDIR}/fixman ${TOOL_SED} ${.ALLSRC} ${.TARGET} 34 1.1 christos .endfor 35 1.1 christos 36 1.1 christos HMAN2=${HSRCS2:S/.h.3/.3/g} 37 1.1 christos 38 1.2 christos SRCS1=deprecated.3 39 1.2 christos MAN1=${SRCS1:S/^/ev/g} 40 1.2 christos 41 1.2 christos .for i in ${SRCS1} 42 1.2 christos ev$i: $i 43 1.2 christos ${TOOL_SED} -e 's/"deprecated"/"evdeprecated"/g' \ 44 1.2 christos -e 's/^deprecated/^evdeprecated/g' < ${.ALLSRC} > ${.TARGET} 45 1.2 christos .endfor 46 1.2 christos 47 1.1 christos MAN+= \ 48 1.1 christos bufferevent.3 \ 49 1.1 christos evbuffer_cb_info.3 \ 50 1.1 christos evbuffer_iovec.3 \ 51 1.1 christos evbuffer_ptr.3 \ 52 1.1 christos event_base.3 \ 53 1.1 christos event_config.3 \ 54 1.1 christos evthread_condition_callbacks.3 \ 55 1.1 christos evthread_lock_callbacks.3 \ 56 1.1 christos evutil_addrinfo.3 57 1.1 christos 58 1.2 christos MAN+= ${HMAN1} ${HMAN2} ${MAN1} 59 1.1 christos 60 1.2 christos CLEANFILES+=${HMAN1} ${HMAN2} ${MAN1} 61 1.1 christos 62 1.5 wiz USETBL= yes 63 1.5 wiz 64 1.1 christos .include <bsd.man.mk> 65