diff options
author | Bruce Evans <bde@FreeBSD.org> | 1994-11-14 05:57:36 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1994-11-14 05:57:36 +0000 |
commit | 069fcad2d9af4f3e78ce1b316b9492fa8c902af0 (patch) | |
tree | 0ea44d391077b3d970f3b31ccbb2c8e69a37f6f8 /gnu/usr.bin/man/makewhatis/Makefile | |
parent | a3a5ddcb52f400f6e7afad8e33bd7c3b6e435722 (diff) | |
download | src-test2-069fcad2d9af4f3e78ce1b316b9492fa8c902af0.tar.gz src-test2-069fcad2d9af4f3e78ce1b316b9492fa8c902af0.zip |
Notes
Diffstat (limited to 'gnu/usr.bin/man/makewhatis/Makefile')
-rw-r--r-- | gnu/usr.bin/man/makewhatis/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/usr.bin/man/makewhatis/Makefile b/gnu/usr.bin/man/makewhatis/Makefile index bd14975c490a..984999508710 100644 --- a/gnu/usr.bin/man/makewhatis/Makefile +++ b/gnu/usr.bin/man/makewhatis/Makefile @@ -1,17 +1,20 @@ # @(#)Makefile 5.6 (Berkeley) 6/23/90 +FILES= makewhatis NOMAN= noman -CLEANFILES= makewhatis -beforeinstall: makewhatis - install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - makewhatis ${DESTDIR}${BINDIR} +CLEANFILES+= ${FILES} -.include <bsd.prog.mk> +all: ${FILES} 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 + -e 's,%compext%,${compext},' \ + -e 's,%zcat%,${zcat},' \ + ${.CURDIR}/${.TARGET}.sh > ${.TARGET} +install: + install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${FILES} ${DESTDIR}${BINDIR} + +.include <bsd.prog.mk> |