From 8bac46618797f6e5bba65b83f440ec43572eb987 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Date: Fri, 14 May 2021 08:45:24 -0400
Subject: [PATCH] doc: Replace mentions of make-ring.py by build.py.

* README.rst <make-ring.py>: Replace by build.py.
* docs/source/dev/compiling_and_installing/ring-project.rst: Likewise.
* build.py: Replace 'Ring' by 'Jami'.

Change-Id: I0231ddf541b2622f6042a12ed3ac7ad724b317ae
---
 README.rst                                    | 20 +++++++++----------
 build.py                                      |  8 ++++----
 .../compiling_and_installing/ring-project.rst | 18 ++++++++---------
 3 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/README.rst b/README.rst
index d2fbc7e5..1e05d1eb 100644
--- a/README.rst
+++ b/README.rst
@@ -1,7 +1,7 @@
 jami-project
 ============
 
-This repository is the master repository for Jami. It contains a build script, make-ring.py,
+This repository is the master repository for Jami. It contains a build script, build.py,
 that can be used to build and install ring from source on different platforms.
 
 More documentation can be found on http://docs.jami.net. You may also build the documentation
@@ -20,7 +20,7 @@ Initialize the repositories
 
 .. code-block:: bash
 
-    ./make-ring.py --init
+    ./build.py --init
 
 It initializes and updates the submodules to set them at the top of their master branch. This
 is ideal to have the latest development version.
@@ -38,7 +38,7 @@ On Linux
 
 .. code-block:: bash
 
-    ./make-ring.py --dependencies
+    ./build.py --dependencies
 
 Your distribution's package manager will be used.
 
@@ -46,13 +46,13 @@ Your distribution's package manager will be used.
 
 .. code-block:: bash
 
-    ./make-ring.py --install
+    ./build.py --install
 
 3. Run daemon and client that were installed locally:
 
 .. code-block:: bash
 
-	./make-ring.py --run
+	./build.py --run
 
 You can then stop the processes with CTRL-C.
 
@@ -63,7 +63,7 @@ Install globally for all users instead
 
 .. code-block:: bash
 
-    ./make-ring.py --install --global-install
+    ./build.py --install --global-install
 
 Run global install:
 
@@ -77,7 +77,7 @@ Uninstall the global install:
 
 .. code-block:: bash
 
-    ./make-ring.py --uninstall
+    ./build.py --uninstall
 
 On OSX
 ------
@@ -88,14 +88,14 @@ Build and install all the dependencies:
 
 .. code-block:: bash
 
-    ./make-ring.py --dependencies
+    ./build.py --dependencies
 
 
 Build and install locally under this repository:
 
 .. code-block:: bash
 
-    ./make-ring.py --install
+    ./build.py --install
 
 Output
 ''''''
@@ -111,7 +111,7 @@ Build and install locally under this repository:
 
 .. code-block:: bash
 
-    ./make-ring.py --install --distribution=Android
+    ./build.py --install --distribution=Android
 
 Output
 ''''''
diff --git a/build.py b/build.py
index 1e863134..a09beda8 100755
--- a/build.py
+++ b/build.py
@@ -1,9 +1,9 @@
 #!/usr/bin/env python3
 #
-# This is the Ring build helper, it can do these things:
-#  - Build Ring
-#  - Install Ring
-#  - Run Ring
+# This is the Jami build helper, it can do these things:
+#  - Build Jami
+#  - Install Jami
+#  - Run Jami
 #
 
 import argparse
diff --git a/docs/source/dev/compiling_and_installing/ring-project.rst b/docs/source/dev/compiling_and_installing/ring-project.rst
index 24957277..64a78e84 100644
--- a/docs/source/dev/compiling_and_installing/ring-project.rst
+++ b/docs/source/dev/compiling_and_installing/ring-project.rst
@@ -11,7 +11,7 @@ Initialize the repositories
 
 .. code-block:: bash
 
-    ./make-ring.py --init
+    ./build.py --init
 
 It initializes and updates the submodules to set them at the top of their master branch. This
 is ideal to have the latest development version.
@@ -29,7 +29,7 @@ On Linux
 
 .. code-block:: bash
 
-    ./make-ring.py --dependencies
+    ./build.py --dependencies
 
 Your distribution's package manager will be used.
 
@@ -37,13 +37,13 @@ Your distribution's package manager will be used.
 
 .. code-block:: bash
 
-    ./make-ring.py --install
+    ./build.py --install
 
 3. Run daemon and client that were installed locally:
 
 .. code-block:: bash
 
-	./make-ring.py --run
+	./build.py --run
 
 You can then stop the processes with CTRL-C.
 
@@ -54,7 +54,7 @@ Install globally for all users instead
 
 .. code-block:: bash
 
-    ./make-ring.py --install --global-install
+    ./build.py --install --global-install
 
 Run global install:
 
@@ -68,7 +68,7 @@ Uninstall the global install:
 
 .. code-block:: bash
 
-    ./make-ring.py --uninstall
+    ./build.py --uninstall
 
 On OSX
 ######
@@ -79,14 +79,14 @@ Build and install all the dependencies:
 
 .. code-block:: bash
 
-    ./make-ring.py --dependencies
+    ./build.py --dependencies
 
 
 Build and install locally under this repository:
 
 .. code-block:: bash
 
-    ./make-ring.py --install
+    ./build.py --install
 
 Output
 ------
@@ -102,7 +102,7 @@ Build and install locally under this repository:
 
 .. code-block:: bash
 
-    ./make-ring.py --install --distribution=Android
+    ./build.py --install --distribution=Android
 
 Output
 ------
-- 
GitLab