From e68e7b43c619c7740dbe82165447523c69b30d41 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Tue, 27 Jun 2017 10:49:58 -0400 Subject: [PATCH] docs: Add instructions for checking out most recent release tag. --- source/docs/en/1.0.0/developer/build-linux.markdown | 4 ++++ source/docs/en/1.0.0/developer/build-mac.markdown | 4 ++++ source/docs/en/1.0.0/developer/build-windows.markdown | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/source/docs/en/1.0.0/developer/build-linux.markdown b/source/docs/en/1.0.0/developer/build-linux.markdown index 0ac5d226..8ef9aedf 100644 --- a/source/docs/en/1.0.0/developer/build-linux.markdown +++ b/source/docs/en/1.0.0/developer/build-linux.markdown @@ -34,6 +34,10 @@ Clone the HandBrake repository. git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake +Check out the most recent tag in the HandBrake 1.0.x release series. + + git checkout refs/tags/$(git tag -l | grep -E '^1\.0\.[0-9]+$' | tail -n 1) + Build HandBrake. To build the command line interface only, disable the graphical interface by appending `--disable-gtk`. ./configure --launch-jobs=$(nproc) --launch diff --git a/source/docs/en/1.0.0/developer/build-mac.markdown b/source/docs/en/1.0.0/developer/build-mac.markdown index 510274f3..d990ebe6 100644 --- a/source/docs/en/1.0.0/developer/build-mac.markdown +++ b/source/docs/en/1.0.0/developer/build-mac.markdown @@ -38,6 +38,10 @@ Clone the HandBrake repository. git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake +Check out the most recent tag in the HandBrake 1.0.x release series. + + git checkout refs/tags/$(git tag -l | grep -E '^1\.0\.[0-9]+$' | tail -n 1) + You may build and install the additional dependencies using the included script. Feel free to choose a different output path, if desired. scripts/mac-toolchain-build /usr/local diff --git a/source/docs/en/1.0.0/developer/build-windows.markdown b/source/docs/en/1.0.0/developer/build-windows.markdown index 6cd635d2..e3c849ed 100644 --- a/source/docs/en/1.0.0/developer/build-windows.markdown +++ b/source/docs/en/1.0.0/developer/build-windows.markdown @@ -45,6 +45,10 @@ Clone the HandBrake repository. git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake +Check out the most recent tag in the HandBrake 1.0.x release series. + + git checkout refs/tags/$(git tag -l | grep -E '^1\.0\.[0-9]+$' | tail -n 1) + Build the MinGW-w64 toolchain using the included script, where `username` is your user name. Feel free to choose a different output path, if desired. scripts/mingw-w64-build x86_64 /home/username/toolchains/