Install html files to /usr/share/doc/ncurses/
This commit is contained in:
parent
7acf45ca1e
commit
a8abed9426
@ -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