summaryrefslogtreecommitdiff
path: root/lib/libncurses
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2000-01-10 12:12:51 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2000-01-10 12:12:51 +0000
commita8abed9426ca4d99ec9b07bd6fed928d4c06e244 (patch)
tree78065b80ccf098c3cc3c3828b059ee5a8789c41a /lib/libncurses
parent7acf45ca1e963d977f3b68ee1480f27c03e85951 (diff)
Notes
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 731262916947..753d76691c72 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -244,12 +244,21 @@ SYMLINKS+=libncurses_p.a ${LIBDIR}/libmytinfo_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
.endif
+DOCSDIR= /usr/share/doc/ncurses
+DOCS= ncurses-intro.html hackguide.html
+
beforeinstall: ${HEADERS}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/include/ncurses.h
ln -s curses.h ${DESTDIR}/usr/include/ncurses.h
+.for file in ${DOCS}
+ cd ${.CURDIR}/../../contrib/ncurses/misc ; \
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
+ ${DESTDIR}${DOCSDIR}
+.endfor
+
# Generated source
namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps
${AWK} -f ${NCURSES}/ncurses/tinfo/MKnames.awk ${NCURSES}/include/Caps