[Cryptech-Commits] [sw/thirdparty/libtfm] branch master updated: Support VPATH builds.

git at cryptech.is git at cryptech.is
Fri Jun 24 21:14:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/thirdparty/libtfm.

The following commit(s) were added to refs/heads/master by this push:
       new  89d67eb   Support VPATH builds.
89d67eb is described below

commit 89d67ebfa9d02b46764810fb315e82f7593b2400
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Jun 24 17:04:56 2016 -0400

    Support VPATH builds.
---
 GNUmakefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 5d1fbde..d4572cd 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -43,6 +43,8 @@ TARGETS	:= $(notdir ${HDR} ${LIB})
 
 SHA256SUM := $(firstword $(wildcard /usr/local/bin/sha256sum /usr/local/bin/gsha256sum /usr/bin/sha256sum))
 
+CHECKSUMS ?= Checksums
+
 all: ${TARGETS}
 
 clean:
@@ -60,7 +62,7 @@ ${LIB}: ${HDR}
 ifeq "" "${SHA256SUM}"
 	@echo "Couldn't find sha256sum, not verifying distribution checksums"
 else
-	${SHA256SUM} --check Checksums
+	${SHA256SUM} --check ${CHECKSUMS}
 endif
 	cd ${REPO}; ${MAKE} CFLAGS='${CFLAGS}'
 
@@ -82,5 +84,5 @@ TAGS: ${HDR}
 ifneq "" "${SHA256SUM}"
 regenerate-checksums: ${HDR}
 	cd ${REPO}; git clean -dxf
-	find ${REPO} -name .git -prune -o -type f -print | sort | xargs ${SHA256SUM} >Checksums
+	find ${REPO} -name .git -prune -o -type f -print | sort | xargs ${SHA256SUM} >${CHECKSUMS}
 endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list