diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-30 19:09:18 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-30 19:09:18 +0000 |
commit | b0d61785cae024b1f44119446a940ee14c9ac959 (patch) | |
tree | 5a495a583b002ae9e57f09848ae697160708c220 /share/man/Makefile | |
parent | d43599f73ba5858e573c7ad8b284f6a0808c5c93 (diff) | |
download | FreeBSD-src-b0d61785cae024b1f44119446a940ee14c9ac959.zip FreeBSD-src-b0d61785cae024b1f44119446a940ee14c9ac959.tar.gz |
BSD 4.4 Lite Share Sources
Diffstat (limited to 'share/man/Makefile')
-rw-r--r-- | share/man/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/share/man/Makefile b/share/man/Makefile new file mode 100644 index 0000000..853377b --- /dev/null +++ b/share/man/Makefile @@ -0,0 +1,19 @@ +# @(#)Makefile 8.2 (Berkeley) 4/16/94 + +SUBDIR= man1 man3 man3f man4 man5 man7 man8 +SEDF= /usr/share/man/makewhatis.sed + +afterinstall: + install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \ + ${DESTDIR}${SEDF} + +makedb: + find /usr/share/man -type f -name '*.0' -print | \ + while read file; \ + do \ + sed -n -f ${SEDF} $$file; \ + done | col -b | sort -u > /tmp/whatis.db + install -o ${BINOWN} -g ${BINGRP} -m 444 /tmp/whatis.db \ + ${DESTDIR}/usr/share/man + +.include <bsd.subdir.mk> |