From f5d02a1957881d57f3f5a4538f3611ce9b15ab0f Mon Sep 17 00:00:00 2001 From: green Date: Tue, 11 Jan 2000 12:51:56 +0000 Subject: This is the second half of unbreaking the world build. Add a -DNOHTML corollary for -DNOINFO and -DNOMAN. I'll fix this properly (add specific HTML doc magic) in the .mk files later; right now, just unbreak the world. --- lib/libncurses/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libncurses') diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index e3d5f6c..91409c7 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/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 -- cgit v1.1