freebsd-dev/gnu/usr.bin/man/makewhatis/Makefile
Andreas Schulz b48301f54f Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.
1994-04-13 19:54:43 +00:00

18 lines
446 B
Makefile

# @(#)Makefile 5.6 (Berkeley) 6/23/90
NOMAN= noman
CLEANFILES= makewhatis
beforeinstall: makewhatis
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
makewhatis ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>
makewhatis: makewhatis.sh
sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' \
-e 's,%zcat%,${zcat},' \
-e 's,%compext%,${compext},' \
${.CURDIR}/makewhatis.sh > makewhatis