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-couch...@version@.exe.md5 +EXTRA_DIST += windows/setup-couch...@version@.exe.md5 windows/setup-couch...@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-couch...@version@.exe` windows/setup-couch...@version@.exe.md5: windows/setup-couch...@version@.exe - md5sum $< > $@ - @echo Windows Installer is at: `cygpath -a -w windows/setup-couch...@version@.exe` + cd windows && md5sum ./$(<F) > $(@F) + +windows/setup-couch...@version@.exe.sha: windows/setup-couch...@version@.exe + cd windows && sha1sum ./$(<F) > $(@F) FORCE: