]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - gnu/usr.bin/man/lib/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / gnu / usr.bin / man / lib / Makefile
1 # $FreeBSD$
2
3 LIB=    man
4 INTERNALLIB=
5
6 CFLAGS+= -DSTDC_HEADERS
7 CLEANFILES+= config.h
8 SRCS=   gripes.c util.c
9
10 # Kludge to create config.h for other modules.  The library itself doesn't
11 # depend on config.h.
12 SRCS+=  config.h
13
14 config.h: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
15         sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
16             -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
17             -e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \
18             -e 's,%col%,${col},' -e 's,%pic%,${pic},' \
19             -e 's,%eqn%,${eqn},' -e 's,%neqn%,${neqn},' \
20             -e 's,%vgrind%,${vgrind},' -e 's,%refer%,${refer},' \
21             -e 's,%grap%,${grap},' -e 's,%zcat%,${zcat},' \
22             -e 's,%manpath_config_file%,${manpath_config_file},' \
23             -e 's,%compress%,${compress},' \
24             -e 's,%compext%,${compext},' \
25             ${.CURDIR}/config.h_dist > ${.TARGET}
26
27 .include <bsd.lib.mk>