couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhamm...@apache.org
Subject svn commit: r916528 - /couchdb/trunk/etc/Makefile.am
Date Fri, 26 Feb 2010 01:32:22 GMT
Author: mhammond
Date: Fri Feb 26 01:32:21 2010
New Revision: 916528

URL: http://svn.apache.org/viewvc?rev=916528&view=rev
Log:
generate .sha file for windows binary; ensure md5/sha use rel paths

Modified:
    couchdb/trunk/etc/Makefile.am

Modified: couchdb/trunk/etc/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/etc/Makefile.am?rev=916528&r1=916527&r2=916528&view=diff
==============================================================================
--- couchdb/trunk/etc/Makefile.am (original)
+++ couchdb/trunk/etc/Makefile.am Fri Feb 26 01:32:21 2010
@@ -28,7 +28,7 @@
 EXTRA_DIST = $(init_sysconf_data)
 
 if WINDOWS
-EXTRA_DIST += windows/setup-couchdb-@version@.exe.md5
+EXTRA_DIST += windows/setup-couchdb-@version@.exe.md5 windows/setup-couchdb-@version@.exe.sha
 endif
 
 CLEANFILES = $(init_DATA) $(default_sysconf_data) $(launchd_DATA)
@@ -97,8 +97,10 @@
 	@echo Windows Installer is at: `cygpath -a -w windows/setup-couchdb-@version@.exe`
 
 windows/setup-couchdb-@version@.exe.md5: windows/setup-couchdb-@version@.exe
-	md5sum $< > $@
-	@echo Windows Installer is at: `cygpath -a -w windows/setup-couchdb-@version@.exe`
+	cd windows && md5sum ./$(<F) > $(@F)
+
+windows/setup-couchdb-@version@.exe.sha: windows/setup-couchdb-@version@.exe
+	cd windows && sha1sum ./$(<F) > $(@F)
 
 FORCE:
 



Mime
View raw message