aboutsummaryrefslogtreecommitdiff
path: root/lib/libmd/Makefile
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-08-30 01:53:09 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-08-30 01:53:09 +0000
commit62217f350b411963ee6a6a24becdaac2f7abcb92 (patch)
tree46178b414e1c61eee48caab2aa72bf9453088fff /lib/libmd/Makefile
parentc5c878699b6e7d0164059550c4541a9fe3a1da8f (diff)
downloadsrc-62217f350b411963ee6a6a24becdaac2f7abcb92.tar.gz
src-62217f350b411963ee6a6a24becdaac2f7abcb92.zip
Notes
Diffstat (limited to 'lib/libmd/Makefile')
-rw-r--r--lib/libmd/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index d476582c6d72..822852973758 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>