aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2012-11-08 21:31:37 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2012-11-08 21:31:37 +0000
commit5ade06afb373601cf72714260e3c0f88a4c1274d (patch)
tree82c46b6c835e318644f8f78692e40f33048b80ff /lib/ncurses
parent5ee6a1b45facefe680719c0c14af91efd43ed869 (diff)
downloadsrc-5ade06afb373601cf72714260e3c0f88a4c1274d.tar.gz
src-5ade06afb373601cf72714260e3c0f88a4c1274d.zip
Avoid two makefiles trying to install the same headers
Notes
Notes: svn path=/projects/bmake/; revision=242793
Diffstat (limited to 'lib/ncurses')
-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 bdac62218525..4f865cdf4114 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -304,6 +304,7 @@ SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermlib${LIB_SUFFIX}_p.a
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a
.endif
+.if ${.CURDIR:T} == "ncurses"
DOCSDIR= ${SHAREDIR}/doc/ncurses
DOCS= ncurses-intro.html hackguide.html
@@ -311,6 +312,7 @@ DOCS= ncurses-intro.html hackguide.html
.PATH: ${NCURSES_DIR}/doc/html
FILESGROUPS= DOCS
.endif
+.endif
# Generated source
.ORDER: names.c codes.c