Commit 27e6f9b9 authored by iannucci@chromium.org's avatar iannucci@chromium.org

Have depot_tools manpage generation pin asciidoc version too.

R=stip@chromium.org
BUG=

Review URL: https://codereview.chromium.org/223053002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@261235 0039d316-1c4b-4281-b951-d872f2087c98
parent e0536ff7
git
asciidoc
__*.txt
\ No newline at end of file
......@@ -20,7 +20,6 @@ ensure_in_path() {
}
ensure_in_path xmlto
ensure_in_path asciidoc
DFLT_CATALOG_PATH="/usr/local/etc/xml/catalog"
if [[ ! $XML_CATALOG_FILES && -f "$DFLT_CATALOG_PATH" ]]
......@@ -30,6 +29,20 @@ then
echo Using \'$DFLT_CATALOG_PATH\' for \$XML_CATALOG_FILES.
fi
# We pull asciidoc to get the right version
BRANCH=8.6.9
ASCIIDOC_HASH=7fed0aff1b30
if [[ ! -d asciidoc || $(cd asciidoc && hg id -i) != $ASCIIDOC_HASH ]]
then
echo Cloning asciidoc
rm -rf asciidoc
hg clone -r $BRANCH https://asciidoc.googlecode.com/hg/ asciidoc
(cd asciidoc && ln -s asciidoc.py asciidoc)
fi
echo Asciidoc up to date at $ASCIIDOC_HASH \($BRANCH\)
export PATH=`pwd`/asciidoc:$PATH
# We pull git to get its documentation toolchain
BRANCH=v1.9.0
GITHASH=5f95c9f850b19b368c43ae399cc831b17a26a5ac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment