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