From bb07d8d7f71f3ec75e4d46118576febfc5c7cef0 Mon Sep 17 00:00:00 2001 From: anonimal Date: Sun, 18 Mar 2018 17:02:14 +0000 Subject: [PATCH] README: add instructions for cloning / submodules --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 114afcd4e..371dd6892 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,16 @@ library archives (`.a`). [^] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ``` +### Cloning the repository + +Clone recursively to pull-in needed submodule(s): + +`$ git clone --recursive https://github.com/monero-project/monero` + +If you already have a repo cloned, initialize and update: + +`$ cd monero && git submodule init && git submodule update` + ### Build instructions Monero uses the CMake build system and a top-level [Makefile](Makefile) that