From 510cdfd2cfcc0a04605dd723988c23135d8c8c16 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 8 Sep 1994 10:40:23 +0000 Subject: [PATCH] Install math.h. --- lib/msun/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/msun/Makefile b/lib/msun/Makefile index df1dcb296a63..2f6219c59530 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 5.1beta 93/09/24 -# $Id: Makefile,v 1.1.1.1 1994/08/19 09:39:41 jkh Exp $ +# $Id: Makefile,v 1.2 1994/08/19 11:15:40 jkh Exp $ # # ==================================================== # Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -109,4 +109,11 @@ MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3 MLINKS+=lgamma.3 gamma.3 MLINKS+=sqrt.3 cbrt.3 +# XXX we should have only one math.h, and a rule for installing .h's... +beforeinstall: + @${ECHO} Installing new math.h + @(cd ${.CURDIR}/src; cmp -s math.h ${DESTDIR}/usr/include/math.h || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 math.h \ + ${DESTDIR}/usr/include/math.h;) + .include