2002-05-13 07:09:07 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
1997-04-10 12:04:43 -04:00
|
|
|
LIB= man
|
2004-10-24 11:33:08 -04:00
|
|
|
INTERNALLIB=
|
1993-07-07 19:07:02 -04:00
|
|
|
|
1997-04-10 12:04:43 -04:00
|
|
|
CFLAGS+= -DSTDC_HEADERS
|
|
|
|
|
CLEANFILES+= config.h
|
|
|
|
|
SRCS= gripes.c util.c
|
1993-07-21 13:18:04 -04:00
|
|
|
|
1997-04-25 16:20:21 -04:00
|
|
|
# Kludge to create config.h for other modules. The library itself doesn't
|
|
|
|
|
# depend on config.h.
|
1998-03-20 07:13:10 -05:00
|
|
|
SRCS+= config.h
|
1993-07-21 13:18:04 -04:00
|
|
|
|
1997-04-10 12:04:43 -04:00
|
|
|
config.h: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
|
1993-07-16 02:46:42 -04:00
|
|
|
sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
|
|
|
|
|
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
|
|
|
|
|
-e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \
|
|
|
|
|
-e 's,%col%,${col},' -e 's,%pic%,${pic},' \
|
|
|
|
|
-e 's,%eqn%,${eqn},' -e 's,%neqn%,${neqn},' \
|
|
|
|
|
-e 's,%vgrind%,${vgrind},' -e 's,%refer%,${refer},' \
|
|
|
|
|
-e 's,%grap%,${grap},' -e 's,%zcat%,${zcat},' \
|
|
|
|
|
-e 's,%manpath_config_file%,${manpath_config_file},' \
|
1994-03-05 08:48:38 -05:00
|
|
|
-e 's,%compress%,${compress},' \
|
|
|
|
|
-e 's,%compext%,${compext},' \
|
1997-04-10 12:04:43 -04:00
|
|
|
${.CURDIR}/config.h_dist > ${.TARGET}
|
1993-07-16 02:46:42 -04:00
|
|
|
|
1993-07-07 19:07:02 -04:00
|
|
|
.include <bsd.lib.mk>
|