Commit 7b2b8935f628f937622062a0569a4f068ce65ab6
1 parent
58f20403
Exists in
master
and in
1 other branch
Removing unnecessary '$' in shell examples to allow use of github's copy
button.
Showing
1 changed file
with
21 additions
and
21 deletions
Show diff stats
README.md
| ... | ... | @@ -39,36 +39,36 @@ For the supported distributions get the install repositories and instructions fr |
| 39 | 39 | 1. Add the MinGW Repositories |
| 40 | 40 | |
| 41 | 41 | ``` |
| 42 | - $ sudo zypper ar obs://windows:mingw:win32 mingw32 | |
| 43 | - $ sudo zypper ar obs://windows:mingw:win64 mingw64 | |
| 44 | - $ sudo zypper ar obs://home:PerryWerneck:pw3270 pw3270 | |
| 45 | - $ sudo zypper ref | |
| 42 | + sudo zypper ar obs://windows:mingw:win32 mingw32 | |
| 43 | + sudo zypper ar obs://windows:mingw:win64 mingw64 | |
| 44 | + sudo zypper ar obs://home:PerryWerneck:pw3270 pw3270 | |
| 45 | + sudo zypper ref | |
| 46 | 46 | ``` |
| 47 | 47 | |
| 48 | 48 | 2. Get libv3270 sources from git |
| 49 | 49 | |
| 50 | 50 | ``` |
| 51 | - $ git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 51 | + git clone https://github.com/PerryWerneck/libv3270.git ./v3270 | |
| 52 | 52 | ``` |
| 53 | 53 | |
| 54 | 54 | 3. Install 64 bits cross compilers |
| 55 | 55 | |
| 56 | 56 | ``` |
| 57 | - $ ./v3270/win/install-cross.sh --64 | |
| 57 | + ./v3270/win/install-cross.sh --64 | |
| 58 | 58 | ``` |
| 59 | 59 | |
| 60 | 60 | 4. Configure 64 bits build environment |
| 61 | 61 | |
| 62 | 62 | ``` |
| 63 | - $ ./v3270/win/win-configure.sh --64 | |
| 63 | + ./v3270/win/win-configure.sh --64 | |
| 64 | 64 | ``` |
| 65 | 65 | |
| 66 | 66 | 5. Build |
| 67 | 67 | |
| 68 | 68 | ``` |
| 69 | - $ cd v3270 | |
| 70 | - $ make clean | |
| 71 | - $ make all | |
| 69 | + cd v3270 | |
| 70 | + make clean | |
| 71 | + make all | |
| 72 | 72 | ``` |
| 73 | 73 | |
| 74 | 74 | ### Windows native with MSYS2 |
| ... | ... | @@ -78,21 +78,21 @@ For the supported distributions get the install repositories and instructions fr |
| 78 | 78 | 2. Install the required libraries |
| 79 | 79 | |
| 80 | 80 | ``` |
| 81 | - $ pacman -S mingw-w64-x86_64-gtk3 | |
| 81 | + pacman -S mingw-w64-x86_64-gtk3 | |
| 82 | 82 | ``` |
| 83 | 83 | |
| 84 | 84 | 2. Get libv3270 sources from git |
| 85 | 85 | |
| 86 | 86 | ``` |
| 87 | - $ git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 87 | + git clone https://github.com/PerryWerneck/libv3270.git ./libv3270 | |
| 88 | 88 | ``` |
| 89 | 89 | |
| 90 | 90 | 4. Build library using the mingw shell |
| 91 | 91 | |
| 92 | 92 | ``` |
| 93 | - $ cd libv3270 | |
| 94 | - $ ./autogen.sh | |
| 95 | - $ make all | |
| 93 | + cd libv3270 | |
| 94 | + ./autogen.sh | |
| 95 | + make all | |
| 96 | 96 | ``` |
| 97 | 97 | |
| 98 | 98 | ## Building for macOS (using homebrew) |
| ... | ... | @@ -102,15 +102,15 @@ For the supported distributions get the install repositories and instructions fr |
| 102 | 102 | 2. Install additional dependencies |
| 103 | 103 | |
| 104 | 104 | ```shell |
| 105 | - $ brew install gtk+3 | |
| 105 | + brew install gtk+3 | |
| 106 | 106 | ``` |
| 107 | 107 | |
| 108 | 108 | 3. Configure, build and install |
| 109 | 109 | |
| 110 | 110 | ```shell |
| 111 | - $ ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" | |
| 112 | - $ make all && make install | |
| 113 | - $ brew link libv3270 | |
| 111 | + ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" | |
| 112 | + make all && make install | |
| 113 | + brew link libv3270 | |
| 114 | 114 | ``` |
| 115 | 115 | |
| 116 | 116 | ### Uninstalling |
| ... | ... | @@ -118,7 +118,7 @@ For the supported distributions get the install repositories and instructions fr |
| 118 | 118 | 1. To uninstall |
| 119 | 119 | |
| 120 | 120 | ```shell |
| 121 | - $ brew unlink libv3270 | |
| 122 | - $ rm -fr "$(brew --cellar)/libv3270" | |
| 121 | + brew unlink libv3270 | |
| 122 | + rm -fr "$(brew --cellar)/libv3270" | |
| 123 | 123 | ``` |
| 124 | 124 | ... | ... |