From afdf156bf12045ab181326f9713fbbef38bd89a0 Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Sat, 17 Dec 1994 20:50:44 +0000 Subject: [PATCH] bsd.port.mk: missing semicolon added bsd.port.subdir.mk: added check-md5 as target --- Mk/bsd.port.mk | 6 +++--- Mk/bsd.port.subdir.mk | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 43d40e4fb859..e49743bb38c6 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.82 1994/12/17 01:58:11 ache Exp $ +# $Id: bsd.port.mk,v 1.83 1994/12/17 02:37:26 ache Exp $ # # Please view me with 4 column tabs! @@ -489,8 +489,8 @@ check-md5: fetch CKSUM=`${MD5} $$file | awk '{print $$4}'`; \ CKSUM2=`grep "($$file)" ${MD5_FILE} | awk '{print $$4}'`; \ if [ "$$CKSUM" != "$$CKSUM2" ]; then \ - echo ">> Checksum mismatch for $$file" \ - exit 1;\ + echo ">> Checksum mismatch for $$file"; \ + exit 1; \ fi; \ done) @echo "Checksums OK." diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index 3811daa9f28e..2fc73273c8d3 100644 --- a/Mk/bsd.port.subdir.mk +++ b/Mk/bsd.port.subdir.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 -# $Id: bsd.port.subdir.mk,v 1.5 1994/09/16 14:30:22 jkh Exp $ +# $Id: bsd.port.subdir.mk,v 1.6 1994/11/17 16:02:56 jkh Exp $ .MAIN: all @@ -84,3 +84,7 @@ realinstall: beforeinstall _SUBDIRUSE .if !target(tags) tags: _SUBDIRUSE .endif + +.if !target(check-md5) +check-md5: _SUBDIRUSE +.endif