diff options
author | peter <peter@FreeBSD.org> | 1996-08-30 01:53:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-30 01:53:09 +0000 |
commit | 9879cf14c339ef3fe9c2b244ce58c1ab26a7eaf2 (patch) | |
tree | 46178b414e1c61eee48caab2aa72bf9453088fff | |
parent | feb74039a2c1add30e311ade2c7db7aec497cc79 (diff) | |
download | FreeBSD-src-9879cf14c339ef3fe9c2b244ce58c1ab26a7eaf2.zip FreeBSD-src-9879cf14c339ef3fe9c2b244ce58c1ab26a7eaf2.tar.gz |
cmp -s || install -c ==> install -C, use a .for loop
-rw-r--r-- | lib/libmd/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile index d476582..8228529 100644 --- a/lib/libmd/Makefile +++ b/lib/libmd/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.19 1996/02/09 20:57:53 phk Exp $ +# $Id: Makefile,v 1.20 1996/02/09 22:44:44 phk Exp $ LIB= md NOPIC= true @@ -83,14 +83,9 @@ test: md2.ref md4.ref md5.ref beforedepend: md2hl.c md4hl.c md5hl.c beforeinstall: - -cd ${.CURDIR}; cmp -s md2.h ${DESTDIR}/usr/include/md2.h || \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 md2.h \ - ${DESTDIR}/usr/include - -cd ${.CURDIR}; cmp -s md4.h ${DESTDIR}/usr/include/md4.h || \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 md4.h \ - ${DESTDIR}/usr/include - -cd ${.CURDIR}; cmp -s md5.h ${DESTDIR}/usr/include/md5.h || \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 md5.h \ - ${DESTDIR}/usr/include +.for i in md2.h md4.h md5.h + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/$i \ + ${DESTDIR}/usr/include +.endfor .include <bsd.lib.mk> |