diff options
author | bde <bde@FreeBSD.org> | 1995-11-26 09:51:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-26 09:51:42 +0000 |
commit | 77eaf99dd6702ae8a240055b3fef1ab5b45620f4 (patch) | |
tree | 0a66913a12854a299651400bec1f06f7ca2bd4aa /gnu/lib/libgmp | |
parent | bc7d106f80f3c18468583911b6bc909689a17df7 (diff) | |
download | FreeBSD-src-77eaf99dd6702ae8a240055b3fef1ab5b45620f4.zip FreeBSD-src-77eaf99dd6702ae8a240055b3fef1ab5b45620f4.tar.gz |
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.
Diffstat (limited to 'gnu/lib/libgmp')
-rw-r--r-- | gnu/lib/libgmp/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile index 3c74b9b..11ebb87 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} |