386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Mon, 1 Jul 1991 19:04:52 +0000 (11:04 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Mon, 1 Jul 1991 19:04:52 +0000 (11:04 -0800)
Work on file usr/othersrc/share/man/Makefile

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/share/man/Makefile [new file with mode: 0644]

diff --git a/usr/othersrc/share/man/Makefile b/usr/othersrc/share/man/Makefile
new file mode 100644 (file)
index 0000000..ed2d0b9
--- /dev/null
@@ -0,0 +1,18 @@
+#      @(#)Makefile    5.9 (Berkeley) 7/1/91
+
+SUBDIR=        man1 man3 man4 man5 man7 man8
+
+afterinstall:
+       install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
+           ${DESTDIR}/usr/share/man/makewhatis.sed
+       install -c -o ${BINOWN} -g ${BINGRP} -m 444 man0/COPYRIGHT \
+           ${DESTDIR}/usr/share/man/COPYRIGHT
+
+makedb:
+       for file in `find /usr/share/man -type f -name '*.0' -print`; do \
+               sed -n -f /usr/share/man/makewhatis.sed $$file; \
+       done | sort -u > whatis.db
+       install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \
+           ${DESTDIR}/usr/share/man
+
+.include <bsd.subdir.mk>