freebsd-dev/gnu/usr.bin/man/manpath/Makefile

20 lines
520 B
Makefile
Raw Normal View History

1993-07-07 23:07:02 +00:00
PROG= manpath
MAN1= manpath.1
SRCS= manpath.c
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
1993-07-07 23:07:02 +00:00
CFLAGS+= -I${.CURDIR}/../lib -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS
manpath.1: manpath.man
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},' \
manpath.man > manpath.1
.include <bsd.prog.mk>