diff options
author | phantom <phantom@FreeBSD.org> | 2000-01-10 12:12:51 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2000-01-10 12:12:51 +0000 |
commit | 12408f141646328af9331c093cc0f218227cccae (patch) | |
tree | c0ddafa5800e45196e8cd8106e7cf71084d56ffb /lib/libncurses/Makefile | |
parent | 336ede38ccf194845603a5c98198710338f5e942 (diff) | |
download | FreeBSD-src-12408f141646328af9331c093cc0f218227cccae.zip FreeBSD-src-12408f141646328af9331c093cc0f218227cccae.tar.gz |
Install html files to /usr/share/doc/ncurses/
Diffstat (limited to 'lib/libncurses/Makefile')
-rw-r--r-- | lib/libncurses/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 7312629..753d766 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 |