summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 10c9dc03..1dc70c4c 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -28,7 +28,7 @@ nobase_sysconf_DATA = $(default_sysconf_data) $(init_sysconf_data)
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 @@ windows/setup-couchdb-@version@.exe: windows/couchdb.iss windows/README.txt FORC
@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: