mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use ./autogen.sh
instead of autoconf
in doc
This commit is contained in:
parent
b178929469
commit
6f35a4e526
2 changed files with 4 additions and 4 deletions
|
@ -265,7 +265,7 @@ Now let's build CRuby:
|
||||||
* Generate the configuration files and build:
|
* Generate the configuration files and build:
|
||||||
|
|
||||||
cd ruby-master
|
cd ruby-master
|
||||||
autoconf
|
./autogen.sh
|
||||||
mkdir build && cd build # its good practice to build outside of source dir
|
mkdir build && cd build # its good practice to build outside of source dir
|
||||||
mkdir ~/.rubies # we will install to .rubies/ruby-master in our home dir
|
mkdir ~/.rubies # we will install to .rubies/ruby-master in our home dir
|
||||||
../configure --prefix="${HOME}/.rubies/ruby-master"
|
../configure --prefix="${HOME}/.rubies/ruby-master"
|
||||||
|
|
|
@ -6,7 +6,7 @@ If you are a user of Ruby, please see README.md.
|
||||||
## In-place build
|
## In-place build
|
||||||
|
|
||||||
```
|
```
|
||||||
$ autoconf
|
$ ./autogen.sh
|
||||||
$ ./configure --prefix=$PWD/local
|
$ ./configure --prefix=$PWD/local
|
||||||
$ make
|
$ make
|
||||||
$ make install
|
$ make install
|
||||||
|
@ -17,7 +17,7 @@ Hello
|
||||||
## Out-of-place build
|
## Out-of-place build
|
||||||
|
|
||||||
```
|
```
|
||||||
$ autoconf
|
$ ./autogen.sh
|
||||||
$ mkdir ../ruby-build
|
$ mkdir ../ruby-build
|
||||||
$ cd ../ruby-build
|
$ cd ../ruby-build
|
||||||
$ ../ruby-src/configure --prefix=$PWD/local
|
$ ../ruby-src/configure --prefix=$PWD/local
|
||||||
|
@ -100,7 +100,7 @@ $ make test-bundler BUNDLER_SPECS=commands/exec_spec.rb:58
|
||||||
You need to be able to use gcc (gcov) and lcov visualizer.
|
You need to be able to use gcc (gcov) and lcov visualizer.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ autoconf
|
$ ./autogen.sh
|
||||||
$ ./configure --enable-gcov
|
$ ./configure --enable-gcov
|
||||||
$ make
|
$ make
|
||||||
$ make update-coverage
|
$ make update-coverage
|
||||||
|
|
Loading…
Add table
Reference in a new issue