diff options
author | green <green@FreeBSD.org> | 2000-01-11 12:51:56 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-01-11 12:51:56 +0000 |
commit | f5d02a1957881d57f3f5a4538f3611ce9b15ab0f (patch) | |
tree | 43bd08e302dff7e777547e419375dcdaeef36ebb /lib | |
parent | eda181946c0a405c5bca9488623ba6b6d8a6e79d (diff) | |
download | FreeBSD-src-f5d02a1957881d57f3f5a4538f3611ce9b15ab0f.zip FreeBSD-src-f5d02a1957881d57f3f5a4538f3611ce9b15ab0f.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libncurses/Makefile | 2 | ||||
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
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 diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index e3d5f6c..91409c7 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 |