summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-22 04:56:11 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-22 04:56:11 +0000
commit6cd47185b095fa022d3d52f071e7190a4b6699b6 (patch)
treebd3de479c5f66b30d04cd66a7de7948ec4acbab2 /lib
parent6bafec38fb7e734c3523e333232e5eecf1b6eba1 (diff)
install infnan(3/VAX) into man3/vax/ on all archs;
clean make build tested on i386; ok deraadt@, no objections from martynas@
Diffstat (limited to 'lib')
-rw-r--r--lib/libm/Makefile6
-rw-r--r--lib/libm/man/Makefile7
-rw-r--r--lib/libm/man/infnan.36
3 files changed, 14 insertions, 5 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index be71bea7260..c4e4f78701e 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.97 2011/08/19 15:44:36 kettenis Exp $
+# $OpenBSD: Makefile,v 1.98 2011/09/22 04:56:09 schwarze Exp $
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
#
# @(#)Makefile 5.1beta 93/09/24
@@ -12,6 +12,9 @@
# is preserved.
# ====================================================
+# SUBDIR is only used to install the infnan(3/VAX) manual page.
+SUBDIR = man
+
.if (${MACHINE_ARCH} == "alpha")
.PATH: ${.CURDIR}/arch/alpha
ARCH_SRCS = s_copysign.S s_copysignf.S
@@ -156,7 +159,6 @@ NOIEEE_SRCS = n_acosh.c n_argred.c n_asincos.c n_asinh.c n_atan.c \
.if (${MACHINE_ARCH} == "vax")
SRCS= ${NOIEEE_SRCS} ${NOIEEE_ARCH}
-MAN+= infnan.3
.else
SRCS= ${COMMON_SRCS}
.if (${MACHINE_ARCH} == "amd64") || (${MACHINE_ARCH} == "i386") || \
diff --git a/lib/libm/man/Makefile b/lib/libm/man/Makefile
new file mode 100644
index 00000000000..9c942c3c9d1
--- /dev/null
+++ b/lib/libm/man/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.1 2011/09/22 04:56:09 schwarze Exp $
+# Written by Ingo Schwarze <schwarze@openbsd.org> 2011; public domain.
+
+MANSUBDIR = vax
+MAN = infnan.3
+
+.include <bsd.prog.mk>
diff --git a/lib/libm/man/infnan.3 b/lib/libm/man/infnan.3
index df4726aae75..1ca31cd9518 100644
--- a/lib/libm/man/infnan.3
+++ b/lib/libm/man/infnan.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: infnan.3,v 1.13 2011/09/03 22:59:07 jmc Exp $
+.\" $OpenBSD: infnan.3,v 1.14 2011/09/22 04:56:09 schwarze Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,8 +29,8 @@
.\"
.\" @(#)infnan.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 3 2011 $
-.Dt INFNAN 3
+.Dd $Mdocdate: September 22 2011 $
+.Dt INFNAN 3 vax
.Os
.Sh NAME
.Nm infnan