summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/man/manpath/Makefile
blob: 79d3b5da0ec561f69c6af5cecf8d2c23abdd6c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

PROG=	manpath
SRCS=	manpath.c
MAN1=	manpath.1

DPADD=	${LIBMAN}
LDADD=	${LIBMAN}

CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+=	${MAN1}
MANDEPEND+=	${MAN1}

${MAN1}: ${.CURDIR}/manpath.man
	@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
	sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
	${.CURDIR}/manpath.man > ${MAN1}

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud