Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make default.ini appropriate for windows.

  • Loading branch information...
commit 5cf7a5cfe4eb6e52104a5c7a340eda47eefe9052 1 parent 5a406ec
@mhammond mhammond authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 etc/couchdb/Makefile.am
View
12 etc/couchdb/Makefile.am
@@ -24,6 +24,17 @@ transform = @program_transform_name@
couchjs_command_name = `echo couchjs | sed '$(transform)'`
couchjs_dev_command_name = `echo couchjs_dev | sed '$(transform)'`
+if WINDOWS
+default.ini: default.ini.tpl
+ sed -e "s|%bindir%|.|g" \
+ -e "s|%localconfdir%|$(localconfdir)|g" \
+ -e "s|%localdatadir%|../share/couchdb|g" \
+ -e "s|%localstatelibdir%|../var/lib/couchdb|g" \
+ -e "s|%localstatelogdir%|../var/log/couchdb|g" \
+ -e "s|%couchprivlibdir%|../lib/couch-$(version)/priv/lib|g" \
+ -e "s|%couchjs_command_name%|couchjs.exe|g" \
+ < $< > $@
+else
default.ini: default.ini.tpl
sed -e "s|%bindir%|$(bindir)|g" \
-e "s|%localconfdir%|$(localconfdir)|g" \
@@ -33,6 +44,7 @@ default.ini: default.ini.tpl
-e "s|%couchprivlibdir%|$(couchprivlibdir)|g" \
-e "s|%couchjs_command_name%|$(couchjs_command_name)|g" \
< $< > $@
+endif
default_dev.ini: default.ini.tpl
sed -e "s|%bindir%|$(abs_top_srcdir)/bin|g" \
Please sign in to comment.
Something went wrong with that request. Please try again.