From 56d422545f5566ac4a694676205c9e0fed4c6bb0 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Thu, 2 May 2019 14:18:22 +0000 Subject: [PATCH] Document that USE_GIT(HUB|LAB)=nodefault needs some special handling. PR: 235762 Reported by: jhb --- .../porters-handbook/makefiles/chapter.xml | 45 ++++++++++++++----- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml index 12063c9b02..f543e8a3e4 100644 --- a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -2664,12 +2664,6 @@ v0.7.3-0-gc66c71d similar to . - When fetching multiple files from GitHub, sometimes the - default distribution file is not fetched from GitHub. To disable - fetching the default distribution, set: - - USE_GITHUB= nodefault - Multiple values are added to GH_ACCOUNT, GH_PROJECT, and @@ -2712,6 +2706,22 @@ v0.7.3-0-gc66c71d + When fetching multiple files from GitHub, sometimes the + default distribution file is not fetched from GitHub. To disable + fetching the default distribution, set: + + USE_GITHUB= nodefault + + + When using USE_GITHUB=nodefault, + the Makefile must set + DISTFILES in its + top block. + The definition should be: + + DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + + Use of <varname>USE_GITHUB</varname> with Multiple Distribution Files @@ -3053,12 +3063,6 @@ GL_COMMIT= 9c1669ce60c3f4f5eb43df874d7314483fb3f8a6 linkend="porting-master-sites-n"/> and . - When fetching multiple files using GitLab, - sometimes the default distribution file is not fetched from a GitLab - site. To disable fetching the default distribution, set: - - USE_GITLAB= nodefault - Multiple values are added to GL_SITE, GL_ACCOUNT, @@ -3100,6 +3104,23 @@ GL_COMMIT= 9c1669ce60c3f4f5eb43df874d7314483fb3f8a6 + When fetching multiple files using GitLab, + sometimes the default distribution file is not fetched from a GitLab + site. To disable fetching the default distribution, set: + + USE_GITLAB= nodefault + + + When using USE_GITLAB=nodefault, + the Makefile must set + DISTFILES in its + top block. + The definition should be: + + DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + + + Use of <varname>USE_GITLAB</varname> with Multiple Distribution Files