From 8df54a8069dd8543af47322f211807a6bec3b61e Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Wed, 30 Jul 2014 11:44:48 +0100
Subject: [PATCH] add an install-client target

---
 Makefile        | 3 +++
 mkclientdist.sh | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 5d7964c..7428038 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,9 @@ sysconfdir = /etc/djrandom
 
 all: version.go $(JS_TARGET)
 
+install-client:
+	go get ./client/... && go install ./client/...
+
 install: all
 	(for dir in server services mapreduce ; do \
 	 go get ./$${dir}/... && go install ./$${dir}/... ; done)
diff --git a/mkclientdist.sh b/mkclientdist.sh
index 83e3a4b..92393bb 100755
--- a/mkclientdist.sh
+++ b/mkclientdist.sh
@@ -1,4 +1,8 @@
 #!/bin/sh
+#
+# Create a self-contained binary distribution of the DJRandom clients,
+# including all the dynamic libraries.
+#
 
 set -e
 
-- 
GitLab