docs: Installation instruction updates
- Suggest checking out master branch in install instructions
- Add a note to run `./waf distclean` after change of dependencies
Change-Id: Ia4ee122986840815968920bf3ba14a9892c25363
Refs: #2136, #1980
diff --git a/docs/INSTALL.rst b/docs/INSTALL.rst
index 9a4b2f4..e04ee48 100644
--- a/docs/INSTALL.rst
+++ b/docs/INSTALL.rst
@@ -134,18 +134,10 @@
::
# Download ndn-cxx
-
git clone https://github.com/named-data/ndn-cxx
- cd ndn-cxx
- git checkout ndn-cxx-0.2.0
-
- cd ..
# Download NFD
-
git clone --recursive https://github.com/named-data/NFD
- cd NFD
- git checkout NFD-0.2.0
Prerequisites
~~~~~~~~~~~~~
@@ -230,6 +222,11 @@
Refer to ``./waf --help`` for more options that can be used during ``configure`` stage and
how to properly configure and run NFD.
+.. note::
+ If you are working on a source repository that has been compiled before, and you have
+ upgraded one of the dependencies, please execute ``./waf distclean`` to clear object files
+ and start over.
+
Debug symbols
~~~~~~~~~~~~~
@@ -362,7 +359,7 @@
Sample applications:
- `Simple examples in ndn-cxx
- library <http://named-data.net/doc/ndn-cxx/0.2.0/examples.html>`__.
+ library <http://named-data.net/doc/ndn-cxx/current/examples.html>`__.
If you have installed ndn-cxx from source, you already have compiled
these: