From 89e36521ab13d228f8c4cf4719e0849df0de3884 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 26 Nov 1995 09:51:42 +0000 Subject: [PATCH] Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR. Changed beforeinstall rule to use `install -C' instead of `cmp -s' and `install -c'. `install -C' has exactly the right semantics for installing headers and should be used elsewhere. --- gnu/lib/libgmp/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile index 3c74b9bce707..11ebb87ce364 100644 --- a/gnu/lib/libgmp/Makefile +++ b/gnu/lib/libgmp/Makefile @@ -1,5 +1,5 @@ # Makefile for libgmp -# $Id: Makefile,v 1.1 1995/11/13 19:13:19 markm Exp $ +# $Id: Makefile,v 1.2 1995/11/25 00:14:03 peter Exp $ LIB= gmp SRCS= $(GMP_SRCS) @@ -40,9 +40,8 @@ SUBDIR+= doc beforedepend: gmp-mparam.h mp_bases.c beforeinstall: - cmp -s ${.SRCDIR}/gmp.h ${DESTDIR}/usr/include/gmp.h || \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${.SRCDIR}/gmp.h ${DESTDIR}/usr/include/gmp.h + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/gmp.h ${DESTDIR}/usr/include/ cre-mparam: cre-mparam.c $(CC) $(CFLAGS) ${.CURDIR}/cre-mparam.c -o ${.TARGET}