.if exists
(${.CURDIR
}/obj
)
MANP
= ${.CURDIR
}/obj
/apropos
.1
TARG
= ${.CURDIR
}/obj
/apropos
MANP
= ${.CURDIR
}/apropos
.1
depend rcsfreeze
tags all:
cd
${.CURDIR
}; rm -rf obj
;
${TARG}: ${.CURDIR
}/apropos.sh
sed
-e
's,%libdir%,${libdir},' -e
's,%bindir%,${bindir},' \
-e
's,%pager%,${pager},' \
${.CURDIR
}/apropos.sh
> $@
${MANP}: ${.CURDIR
}/apropos.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},' \
${.CURDIR
}/apropos.man
> $@
install: ${TARG} maninstall
install -c
-o bin
-g bin
-m
555 ${TARG} ${DESTDIR}/usr
/bin
install -c
-o bin
-g bin
-m
444 ${MANP} ${DESTDIR}/usr
/share
/man
/man1
.
include "../Makefile.inc"