1993-07-07 23:07:02 +00:00
|
|
|
PROG= manpath
|
|
|
|
SRCS= manpath.c
|
1997-04-10 16:14:09 +00:00
|
|
|
MAN1= manpath.1
|
1993-07-08 21:57:48 +00:00
|
|
|
|
1998-03-07 09:46:17 +00:00
|
|
|
DPADD= ${LIBMAN}
|
|
|
|
LDADD= ${LIBMAN}
|
1993-07-07 23:07:02 +00:00
|
|
|
|
1993-07-21 20:48:37 +00:00
|
|
|
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
|
1996-06-24 04:26:21 +00:00
|
|
|
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
|
1993-07-21 21:37:54 +00:00
|
|
|
CLEANFILES+= ${MAN1}
|
1996-01-24 00:18:29 +00:00
|
|
|
MANDEPEND+= ${MAN1}
|
1993-07-07 23:07:02 +00:00
|
|
|
|
1993-07-21 17:18:04 +00:00
|
|
|
${MAN1}: ${.CURDIR}/manpath.man
|
1996-02-25 20:25:05 +00:00
|
|
|
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
1993-07-07 23:07:02 +00:00
|
|
|
sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
|
|
|
|
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
|
|
|
|
-e 's,%manpath_config_file%,${manpath_config_file},' \
|
1993-07-21 17:18:04 +00:00
|
|
|
${.CURDIR}/manpath.man > ${MAN1}
|
1993-07-07 23:07:02 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|