freebsd-dev/gnu/usr.bin/man/makewhatis/Makefile
1993-07-21 17:18:04 +00:00

25 lines
471 B
Makefile

.if exists(${.CURDIR}/obj)
TARG= ${.CURDIR}/obj/makewhatis
.else
TARG= ${.CURDIR}/makewhatis
.endif
all: ${TARG}
depend rcsfreeze tags all:
@echo -n
cleandir: clean
cd ${.CURDIR}; rm -rf obj;
clean:
@rm -f ${TARG}
install:
install -c -o bin -g bin -m 444 ${TARG} /usr/bin
${TARG}: ${.CURDIR}/makewhatis.sh
sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' ${.CURDIR}/makewhatis.sh > ${TARG}
.include "../Makefile.inc"