docs: git submodule on building should be recursive (#3927)
* docs: git submodule on building should be recursive * docs: forgot update scenario
This commit is contained in:
parent
b0de4b7a89
commit
794074b7e1
|
@ -123,7 +123,7 @@ $ ./configure -q && make -s
|
||||||
```console
|
```console
|
||||||
$ git clone https://github.com/transmission/transmission Transmission
|
$ git clone https://github.com/transmission/transmission Transmission
|
||||||
$ cd Transmission
|
$ cd Transmission
|
||||||
$ git submodule update --init
|
$ git submodule update --init --recursive
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
||||||
|
@ -137,7 +137,7 @@ $ sudo make install
|
||||||
$ cd Transmission/build
|
$ cd Transmission/build
|
||||||
$ make clean
|
$ make clean
|
||||||
$ git pull --rebase --prune
|
$ git pull --rebase --prune
|
||||||
$ git submodule update
|
$ git submodule update --recursive
|
||||||
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
|
|
Loading…
Reference in New Issue