aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/ncurses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ncurses/ncurses/Makefile')
-rw-r--r--lib/ncurses/ncurses/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index e3d5f6c37e81..91409c77c6f2 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -253,12 +253,14 @@ beforeinstall: ${HEADERS}
rm -f ${DESTDIR}/usr/include/ncurses.h
ln -s curses.h ${DESTDIR}/usr/include/ncurses.h
+.if !defined(NOHTML)
afterinstall:
.for file in ${DOCS}
cd ${.CURDIR}/../../contrib/ncurses/misc ; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
${DESTDIR}${DOCSDIR}
.endfor
+.endif
# Generated source
namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps