Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / gnu / usr.bin / man / lib / Makefile
1 # $FreeBSD: src/gnu/usr.bin/man/lib/Makefile,v 1.11.6.1 2002/07/19 18:46:24 ru Exp $
2 # $DragonFly: src/gnu/usr.bin/man/lib/Makefile,v 1.2 2003/06/17 04:25:46 dillon Exp $
3
4 LIB=    man
5 INTERNALLIB= true
6
7 CFLAGS+= -DSTDC_HEADERS
8 CLEANFILES+= config.h
9 SRCS=   gripes.c util.c
10
11 # Kludge to create config.h for other modules.  The library itself doesn't
12 # depend on config.h.
13 SRCS+=  config.h
14
15 config.h: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
16         sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
17             -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
18             -e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \
19             -e 's,%col%,${col},' -e 's,%pic%,${pic},' \
20             -e 's,%eqn%,${eqn},' -e 's,%neqn%,${neqn},' \
21             -e 's,%vgrind%,${vgrind},' -e 's,%refer%,${refer},' \
22             -e 's,%grap%,${grap},' -e 's,%zcat%,${zcat},' \
23             -e 's,%manpath_config_file%,${manpath_config_file},' \
24             -e 's,%compress%,${compress},' \
25             -e 's,%compext%,${compext},' \
26             ${.CURDIR}/config.h_dist > ${.TARGET}
27
28 .include <bsd.lib.mk>