svn commit: r254224 - head/share/man/man7

Glen Barber gjb at FreeBSD.org
Tue Aug 13 19:53:01 UTC 2013


On Wed, Aug 14, 2013 at 04:25:57AM +0900, Hiroki Sato wrote:
> gj> +.It Va SRCREVISION
> gj> +The revision of the
> gj> +.Li src/
> gj> +tree to use.
> gj> +Defaults to the current top of tree revision.
> gj> +.It Va DOCREVISION
> gj> +The revision of the
> gj> +.Li doc/
> gj> +tree to use.
> gj> +Defaults to the current top of tree revision.
> gj> +.It Va PORTREVISION
> 
>  Why separation between revision and branch is needed?  I
>  intentionally dropped this part from your old patch to
>  generate-release.sh because branch and revision number can be
>  specified like releng/9.2 at NNN in a single variable.  An incorrect
>  configuration of the two variables do not always cause a fatal error,
>  so specification in fewer number of variables is more foolproof.
> 

I personally do not like using branch at rNNNNNN, but will update to remove
the {SRC,DOC,PORT}REVISION variables.

> gj> +.It Va TARGET
> gj> +The target machine type for the release.
> gj> +Defaults to the current machine type.
> gj> +.It Va TARGET_ARCH
> gj> +The target machine architecture for the release.
> gj> +Defaults to the value of
> gj> +.Va TARGET .
> gj> +.Pp
> 
>  Please remove default configuration of these variables from
>  release.sh.  The reasonable defaults are already set in src/Makefile
>  and setting TARGET_ARCH=$TARGET by default is simply wrong.  Also,
>  get_rev_branch() is redundant.
> 

Will be changed shortly.

Why is get_rev_branch() redundant?

> gj> +Defaults to setting the number of
> gj> +.Xr make 1
> gj> +jobs
> gj> +.Pq Ar -j
> gj> +to half the number of CPUs available on the system.
> 
>  Did you try this on a uniprocessor machine?

Ugh.  No, and now I see why it will not work.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130813/c2264db7/attachment.sig>


More information about the svn-src-head mailing list