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

21 lines
468 B
Makefile
Raw Normal View History

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