[Midnightbsd-cvs] src [8986] trunk/lib/ncurses: only install manpages and html docs in teh ncurses/*w builds.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 29 21:16:08 EDT 2016
Revision: 8986
http://svnweb.midnightbsd.org/src/?rev=8986
Author: laffer1
Date: 2016-09-29 21:16:07 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
only install manpages and html docs in teh ncurses/*w builds.
Modified Paths:
--------------
trunk/lib/ncurses/form/Makefile
trunk/lib/ncurses/menu/Makefile
trunk/lib/ncurses/ncurses/Makefile
trunk/lib/ncurses/panel/Makefile
Modified: trunk/lib/ncurses/form/Makefile
===================================================================
--- trunk/lib/ncurses/form/Makefile 2016-09-30 01:15:20 UTC (rev 8985)
+++ trunk/lib/ncurses/form/Makefile 2016-09-30 01:16:07 UTC (rev 8986)
@@ -59,7 +59,6 @@
.if defined(ENABLE_WIDEC)
INCS= form.h
-.endif
.PATH: ${NCURSES_DIR}/man
MAN= \
@@ -157,6 +156,9 @@
form_win.3 scale_form.3 \
form_win.3 set_form_sub.3 \
form_win.3 set_form_win.3
+.else
+NO_MAN=
+.endif
.include <bsd.lib.mk>
Modified: trunk/lib/ncurses/menu/Makefile
===================================================================
--- trunk/lib/ncurses/menu/Makefile 2016-09-30 01:15:20 UTC (rev 8985)
+++ trunk/lib/ncurses/menu/Makefile 2016-09-30 01:16:07 UTC (rev 8986)
@@ -1,4 +1,4 @@
-# $MidnightBSD: src/lib/ncurses/menu/Makefile,v 1.2 2008/10/02 17:05:38 laffer1 Exp $
+# $MidnightBSD$
.include "${.CURDIR}/../config.mk"
@@ -45,7 +45,6 @@
.if defined(ENABLE_WIDEC)
INCS= menu.h eti.h
-.endif
.PATH: ${NCURSES_DIR}/man
MAN= \
@@ -130,6 +129,9 @@
mitem_value.3 item_value.3 \
mitem_value.3 set_item_value.3 \
mitem_visible.3 item_visible.3
+.else
+NO_MAN=
+.endif
.include <bsd.lib.mk>
Modified: trunk/lib/ncurses/ncurses/Makefile
===================================================================
--- trunk/lib/ncurses/ncurses/Makefile 2016-09-30 01:15:20 UTC (rev 8985)
+++ trunk/lib/ncurses/ncurses/Makefile 2016-09-30 01:16:07 UTC (rev 8986)
@@ -1,7 +1,11 @@
-# $MidnightBSD: src/lib/ncurses/ncurses/Makefile,v 1.3 2008/10/05 18:18:57 laffer1 Exp $
+# $MidnightBSD$
SHLIBDIR?= /lib
+.if !defined(ENABLE_WIDEC)
+NO_MAN=
+.endif
+
.include <bsd.own.mk>
.include "${.CURDIR}/../config.mk"
@@ -304,8 +308,10 @@
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a
.endif
+.if defined(ENABLE_WIDEC)
DOCSDIR= ${SHAREDIR}/doc/ncurses
DOCS= ncurses-intro.html hackguide.html
+.endif
.if ${MK_HTML} != "no"
.PATH: ${NCURSES_DIR}/doc/html
@@ -457,6 +463,7 @@
CLEANFILES+= terminfo.5
+.if defined(ENABLE_WIDEC)
.PATH: ${NCURSES_DIR}/man
MAN= \
curs_addch.3 \
@@ -517,7 +524,6 @@
resizeterm.3 \
wresize.3
-.if defined(ENABLE_WIDEC)
MAN+= \
curs_add_wch.3 \
curs_add_wchstr.3 \
Modified: trunk/lib/ncurses/panel/Makefile
===================================================================
--- trunk/lib/ncurses/panel/Makefile 2016-09-30 01:15:20 UTC (rev 8985)
+++ trunk/lib/ncurses/panel/Makefile 2016-09-30 01:16:07 UTC (rev 8986)
@@ -34,7 +34,6 @@
.if defined(ENABLE_WIDEC)
INCS= panel.h
-.endif
# generate MAN
.PATH: ${NCURSES_DIR}/man
@@ -58,6 +57,9 @@
panel.3 show_panel.3 \
panel.3 top_panel.3 \
panel.3 update_panels.3
+.else
+NO_MAN=
+.endif
.include <bsd.lib.mk>
More information about the Midnightbsd-cvs
mailing list