Skip to content

Commit 75553e9

Browse files
nickprestaacozzette
authored andcommitted
Update shell format in installation instructions.
1 parent 4059c61 commit 75553e9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,21 @@ You can also get the source by "git clone" our git repository. Make sure you
4040
have also cloned the submodules and generated the configure script (skip this
4141
if you are using a release .tar.gz or .zip package):
4242

43-
```shell
4443
git clone https://github.com/protocolbuffers/protobuf.git
4544
cd protobuf
4645
git submodule update --init --recursive
4746
./autogen.sh
48-
```
47+
4948
To build and install the C++ Protocol Buffer runtime and the Protocol
5049
Buffer compiler (protoc) execute the following:
5150

52-
```shell
51+
5352
./configure
5453
make
5554
make check
5655
sudo make install
5756
sudo ldconfig # refresh shared library cache.
58-
```
57+
5958
If "make check" fails, you can still install, but it is likely that
6059
some features of this library will not work correctly on your system.
6160
Proceed at your own risk.
@@ -123,15 +122,15 @@ of "protobuf" in these examples.
123122
For a Mac system, Unix tools are not available by default. You will first need
124123
to install Xcode from the Mac AppStore and then run the following command from
125124
a terminal:
126-
```shell
125+
127126
sudo xcode-select --install
128-
```shell
127+
129128
To install Unix tools, you can install "port" following the instructions at
130129
https://www.macports.org . This will reside in /opt/local/bin/port for most
131130
Mac installations.
132-
```shell
131+
133132
sudo /opt/local/bin/port install autoconf automake libtool
134-
```
133+
135134
Then follow the Unix instructions above.
136135

137136
**Note for cross-compiling**

0 commit comments

Comments
 (0)