couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhamm...@apache.org
Subject svn commit: r916527 - /couchdb/branches/0.11.x/etc/Makefile.am
Date Fri, 26 Feb 2010 01:30:58 GMT
Author: mhammond
Date: Fri Feb 26 01:30:58 2010
New Revision: 916527

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

Modified:
    couchdb/branches/0.11.x/etc/Makefile.am

Modified: couchdb/branches/0.11.x/etc/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/etc/Makefile.am?rev=916527&r1=916526&r2=916527&view=diff
==============================================================================
--- couchdb/branches/0.11.x/etc/Makefile.am (original)
+++ couchdb/branches/0.11.x/etc/Makefile.am Fri Feb 26 01:30:58 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