diff options
author | Randall Leeds <randall@apache.org> | 2012-01-06 15:29:51 -0800 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2012-01-06 15:29:51 -0800 |
commit | e3651ec5d1c7e2ed75d9e70a2e71bb657eba751d (patch) | |
tree | 035608ba28c2a417e1cb4f48f7c75c0abcf37d4b | |
parent | 5c2c11f269704608c1b1b24db8557335370d593a (diff) | |
download | couchdb-e3651ec5d1c7e2ed75d9e70a2e71bb657eba751d.tar.gz |
don't ln the couchjs install target on windows
On windows we install binaries directly into $(prefix)/bin rather than
a local bin directory hidden away in the erlang module. Therefore, when
building this way, don't try to create a symbolic link into the final
location since the final location has the output binary already.
-rw-r--r-- | bin/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am index 320c8a70d..f39115479 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -48,9 +48,11 @@ couchdb: couchdb.tpl $@ < $< chmod +x $@ +if !WINDOWS install-exec-hook: $(LN_S) -f "$(locallibbindir)/$(couchjs_command_name)" \ "$(DESTDIR)$(bindir)/$(couchjs_command_name)" +endif couchjs_dev: $(LN_S) -f "$(abs_top_builddir)/src/couchdb/priv/couchjs" "$@" |