Add 'freeze' target to generate git_refs from checked out branches

Update book.json to include 6.0 in version selector

Change-Id: I2ed95cc5b7f903177d531b74fcaaae65cae183f9
diff --git a/Makefile b/Makefile
index 9d532a4..7e572d9 100644
--- a/Makefile
+++ b/Makefile
@@ -87,3 +87,13 @@
 swagger: xos
 	pushd repos/xos/docs; make swagger_docs; popd;
 
+# generate a list of git checksums suitable for updating git_refs
+freeze: repos
+	@for repo in $(OTHER_REPO_DOCS) ; do \
+	  GIT_SUBDIR=`grep "^$$repo " git_refs | awk '{print $$2}'` ;\
+	  cd "repos/$$repo" > /dev/null ;\
+	    HEAD_SHA=`git rev-parse HEAD` ;\
+	    printf "%-21s %-8s %-40s\n" $$repo $$GIT_SUBDIR $$HEAD_SHA ;\
+	  cd ../.. ;\
+	done
+