From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7617 invoked by alias); 28 Aug 2014 19:31:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33062 Received: (qmail 1591 invoked from network); 28 Aug 2014 19:30:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, URIBL_RHS_DOB autolearn=no version=3.3.2 X-Originating-IP: [86.6.157.246] X-Spam: 0 X-Authority: v=2.1 cv=VY95PTZ9 c=1 sm=1 tr=0 a=BvYiZ/UW0Fmn8Wufq9dPrg==:117 a=BvYiZ/UW0Fmn8Wufq9dPrg==:17 a=NLZqzBF-AAAA:8 a=vR4F1kF0KRcA:10 a=dvlZJyYOZBsA:10 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=_aB-2Ur7gME2J-OV8ZYA:9 a=CjuIK1q_8ugA:10 a=_dQi-Dcv4p4A:10 Date: Thu, 28 Aug 2014 20:30:48 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: "Automate" use of .distfiles a little bit? Message-ID: <20140828203048.6104afbf@pws-pc.ntlworld.com> In-Reply-To: <20140823204913.5abb5f8b@pws-pc.ntlworld.com> References: <140820085247.ZM28198@torch.brasslantern.com> <20140823185724.4162c421@pws-pc.ntlworld.com> <20140823204913.5abb5f8b@pws-pc.ntlworld.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 23 Aug 2014 20:49:13 +0100 Peter Stephenson wrote: > Perhaps some mention in the the development doc would be beneficial. diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide index 37364e1..2ed7542 100644 --- a/Etc/zsh-development-guide +++ b/Etc/zsh-development-guide @@ -931,18 +931,22 @@ freely available tools. To indicate which files should be distributed, each directory in the git tree includes a file .distfiles that sets any number of a set of Bourne shell (scalar) parameters. The value of the parameter is expanded as a -set of standard command line arguments. Basic globbing is allowed in the -values. +set of standard command line arguments. Apart from DISTFILES_NOT, which +must be an explicit list of files separated by whitespace, basic +globbing is allowed in the values. + +Because of the way DISTFILES_SRC is constructed it is only possible +to make a release from a git checkout. The following parameters are currently used: - DISTFILES_SRC is a list of files from the directory for the "src" - distribution. + distribution. However, if the file .distfiles is present in + a directory, all files known to git will be added to DISTFILES_SRC + except for files listed explicitly in DISTFILES_NOT. - DISTFILES_DOC is a list of files from the directory for the "doc" distribution. - DISTFILES_NOT is a list of files that will not be included in a - distribution, but that need to be present in the git tree. This - variable is not used by the zsh build process and is present for - the convenience of external checks. + distribution even though they are present in the git tree.