You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by mh...@apache.org on 2010/02/26 02:30:58 UTC

svn commit: r916527 - /couchdb/branches/0.11.x/etc/Makefile.am

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: