couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject [2/2] git commit: fixed symlink creation
Date Tue, 11 Dec 2012 20:37:30 GMT
fixed symlink creation


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a4d478a6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a4d478a6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a4d478a6

Branch: refs/heads/1536-feature-add-docs
Commit: a4d478a6e130ae89482f966b4c542bed694c8a0b
Parents: 8b85ae2
Author: Noah Slater <nslater@apache.org>
Authored: Tue Dec 11 20:36:48 2012 +0000
Committer: Noah Slater <nslater@apache.org>
Committed: Tue Dec 11 20:36:48 2012 +0000

----------------------------------------------------------------------
 Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/a4d478a6/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 5ac363d..b71a2dd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,9 +122,13 @@ if TESTS
 	mkdir -p $(top_builddir)/tmp/lib
 	mkdir -p $(top_builddir)/tmp/log
 	mkdir -p $(top_builddir)/tmp/run/couchdb
-	ln -s $(abs_top_builddir)/share/doc/build/html $(abs_top_builddir)/share/www/docs
+	if test ! -e $(top_builddir)/share/www/docs; then \
+	    ln -s \
+	        $(top_builddir)/share/doc/build/html \
+	        $(top_builddir)/share/www/docs; \
+	fi
 endif
-
+ 
 install-data-hook:
 	@echo
 	@echo "You have installed Apache CouchDB, time to relax."


Mime
View raw message