mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Install html files to /usr/share/doc/ncurses/
This commit is contained in:
parent
7acf45ca1e
commit
a8abed9426
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55759
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user