diff options
author | Mark Hammond <mhammond@apache.org> | 2009-11-15 12:46:02 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@apache.org> | 2009-11-15 12:46:02 +0000 |
commit | 42a57e6b6b275d3edd352249c3a48acdf07e5e86 (patch) | |
tree | 84db13f51f1313f891bb26b9a7e2bdd88dd89931 /etc/Makefile.am | |
parent | 1b0146dd004c1b9cd6769c11969cc13f8a37fcd9 (diff) |
add basic windows service support; auto build .md5 with .exe
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836351 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc/Makefile.am')
-rw-r--r-- | etc/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am index 2ff298ad..f83b0efb 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 +EXTRA_DIST += windows/setup-couchdb-@version@.exe.md5 endif CLEANFILES = $(init_DATA) $(default_sysconf_data) $(launchd_DATA) @@ -84,6 +84,7 @@ windows/couchdb.iss: windows/couchdb.iss.tpl FORCE -e "s|%package_name%|@package_name@|g" \ -e "s|%locallibbindir%|`cygpath -m @locallibbindir@`|g" \ -e "s|%version%|@version@|g" \ + -e "s|%erts_version%|`$(ERL) -version 2>&1 | $(SED) 's/[^0-9\.]//g'`|g" \ -e "s|%openssl_bin_dir%|@openssl_bin_dir@|g" \ -e "s|%msvc_redist_dir%|@msvc_redist_dir@|g" \ -e "s|%msvc_redist_name%|@msvc_redist_name@|g" \ @@ -95,6 +96,10 @@ windows/setup-couchdb-@version@.exe: windows/couchdb.iss windows/README.txt FORC $(INNO_COMPILER_EXECUTABLE) /q $< @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` + FORCE: endif |