From: <jh...@us...> - 2009-06-25 01:03:37
|
Revision: 86 http://etch.svn.sourceforge.net/etch/?rev=86&view=rev Author: jheiss Date: 2009-06-25 00:13:39 +0000 (Thu, 25 Jun 2009) Log Message: ----------- Use openssl to generate md5 and sha1 checksum files rather than some messy code to check for md5 or md5sum executables. Modified Paths: -------------- Makefile Modified: Makefile =================================================================== --- Makefile 2009-06-18 00:28:05 UTC (rev 85) +++ Makefile 2009-06-25 00:13:39 UTC (rev 86) @@ -1,19 +1,6 @@ VER=3.5 TAGNAME=release-$(VER) -# Perhaps someone with better make skill than I've got can make this -# more elegant -# Note, must indent with spaces here -MD5=$(shell which md5) -MD5SUM=$(shell which md5) -ifdef MD5SUM - MD5PROG=$(MD5) -else ifdef MD5 - MD5PROG=$(MD5SUM) -else - $(error Couldn't find an MD5 program) -endif - all: dist test: @@ -23,7 +10,8 @@ (cd tags/$(TAGNAME) && find client server test etchserver-* README | grep -v '\.svn' | cpio -pdum ../../etch-$(VER)) tar czf etch-$(VER).tar.gz etch-$(VER) rm -rf etch-$(VER) - $(MD5PROG) etch-$(VER).tar.gz > etch-$(VER).tar.gz.md5 + openssl md5 etch-$(VER).tar.gz > etch-$(VER).tar.gz.md5 + openssl sha1 etch-$(VER).tar.gz > etch-$(VER).tar.gz.sha1 gpg --detach --armor etch-$(VER).tar.gz tag: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |