docs: Pass build directory to make instead of changing into it.

This commit is contained in:
Bradley Sepos 2018-01-15 16:55:26 -05:00
parent fad515cee5
commit 26e4bfc9eb
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
7 changed files with 5 additions and 12 deletions

View File

@ -47,9 +47,8 @@ When complete, you will find `HandBrakeCLI` in the `build` directory. If the gra
Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed. Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed.
cd build && sudo make install sudo make --directory=build install
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build

View File

@ -61,11 +61,10 @@ When complete, you will find `HandBrakeCLI` in the `build/xroot` directory. If t
Install HandBrake (optional). Install HandBrake (optional).
cd build && sudo make install sudo make --directory=build install
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build
[^xcode-install]: Make sure Xcode is installed at `/Applications/Xcode.app`. When using an Xcode Beta release, you may need to rename `Xcode-beta.app` to `Xcode.app`. [^xcode-install]: Make sure Xcode is installed at `/Applications/Xcode.app`. When using an Xcode Beta release, you may need to rename `Xcode-beta.app` to `Xcode.app`.

View File

@ -83,7 +83,6 @@ When complete, you will find `HandBrakeCLI.exe` in the `build` directory and `hb
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build

View File

@ -38,9 +38,8 @@ When complete, you will find `HandBrakeCLI` in the `build` directory. If the gra
Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed. Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed.
cd build && sudo gmake install sudo gmake --directory=build install
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
bash -c 'if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi'
rm -rf build rm -rf build

View File

@ -43,9 +43,8 @@ When complete, you will find `HandBrakeCLI` in the `build` directory. If the gra
Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed. Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed.
cd build && sudo make install sudo make --directory=build install
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build

View File

@ -57,11 +57,10 @@ When complete, you will find `HandBrakeCLI` in the `build/xroot` directory. If t
Install HandBrake (optional). Install HandBrake (optional).
cd build && sudo make install sudo make --directory=build install
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build
[^xcode-install]: Make sure Xcode is installed at `/Applications/Xcode.app`. When using an Xcode Beta release, you may need to rename `Xcode-beta.app` to `Xcode.app`. [^xcode-install]: Make sure Xcode is installed at `/Applications/Xcode.app`. When using an Xcode Beta release, you may need to rename `Xcode-beta.app` to `Xcode.app`.

View File

@ -97,7 +97,6 @@ When complete, you will find `HandBrakeCLI.exe` in the `build` directory and `hb
To start over, simply remove the `build` directory. To start over, simply remove the `build` directory.
if [[ "$(basename $(pwd))" == "build" ]]; then cd ..; fi
rm -rf build rm -rf build