summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-13 16:18:05 +0200
committerAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-13 16:18:05 +0200
commit86a4c56673920298d71a05ff8a5048edc320e142 (patch)
treeb82d6d4ee3917ea54ad0e27cbec9fd03245fca3b
parent241a8a00b080c8e30e9d2944ed27869d915f68ad (diff)
Improve formatting
-rw-r--r--README.rst25
1 files changed, 7 insertions, 18 deletions
diff --git a/README.rst b/README.rst
index 825c202..858f83d 100644
--- a/README.rst
+++ b/README.rst
@@ -24,19 +24,15 @@ Installing prerequisites on debian 11:
.. code-block:: sh
## install build tools:
- $ sudo apt-get install gcc g++ make git pkg-config
-
+ # apt-get install gcc g++ make git pkg-config
## install libraries which libalx depends on:
- $ sudo apt-get install libbsd-dev libgsl-dev libopencv-dev
-
+ # apt-get install libbsd-dev libgsl-dev libopencv-dev
## download libalx
$ git clone https://github.com/alejandro-colomar/libalx.git
-
## compile libalx
$ make base cv -C libalx -j8
-
## install libalx
- $ sudo make install-base install-cv -C libalx -j2
+ # make install-base install-cv -C libalx -j2
Installing prerequisites on manjaro:
--------------------------------------
@@ -44,19 +40,15 @@ Installing prerequisites on manjaro:
.. code-block:: sh
## install build tools:
- $ sudo pacman -S gcc make git pkgconf
-
+ # pacman -S gcc make git pkgconf
## install libraries which libalx depends on:
- $ sudo pacman -S libbsd gsl opencv
-
+ # pacman -S libbsd gsl opencv
## download libalx
$ git clone https://github.com/alejandro-colomar/libalx.git
-
## compile libalx
$ make base cv -C libalx -j8
-
## install libalx
- $ sudo make install-base install-cv -C libalx -j2
+ # make install-base install-cv -C libalx -j2
Running the program
@@ -76,15 +68,12 @@ debugging information.
## download the code:
$ git clone https://github.com/SMRLaundryApp/laundry-symbol-reader.git
-
## optional: clean the repository
$ make clean
-
## compile
$ make -j8
-
## install
- $ sudo make install -j2
+ # make install -j2
run:
----