From ee777813462536e1da5fea30bf93c5023fd0a062 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Mon, 25 May 2015 19:09:18 +0100
Subject: [PATCH] fix client build instructions

---
 README.rst | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 3b52f6f..24cb0ea 100644
--- a/README.rst
+++ b/README.rst
@@ -71,14 +71,21 @@ the ``libav`` suite (``avconv``).
 On a Debian-based system, ``apt-get install libav-tools portaudio19-dev``
 should do.
 
+* ensure that the GOPATH environment variable is set. For instance,
+  the following command will use a directory called ``go`` under
+  your $HOME:
+
+    $ export GOPATH=$HOME/go
+
 * install the ``godep`` tool:
 
-    $ cd $GOPATH/src/git.autistici.org/ale/djrandom
-    $ export PATH=$PATH:$GOPATH/bin
     $ go get github.com/tools/godep
+    $ export PATH=$PATH:$GOPATH/bin
 
 * install the client binaries::
 
+    $ cd $GOPATH/src/git.autistici.org/ale/djrandom
+    $ make
     $ godep install ./client/...
 
 You should now have ``djplay``, ``djupload`` and ``djmpd`` in ``$GOPATH/bin``.
-- 
GitLab