Skip to content

Commit 9794b45

Browse files
author
Peter Stephenson
committed
document the distfiles business
1 parent 943cdc7 commit 9794b45

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2007-12-03 Peter Stephenson <[email protected]>
2+
3+
* 24143: Etc/zsh-development-guide, Util/.distfiles: Remove
4+
difflog.pl from the distribution owing to security worries
5+
in usage (but leave it in the archive); also document the
6+
distfiles business.
7+
18
2007-12-03 Clint Adams <[email protected]>
29

310
* 24140: Completion/Unix/Command/_git: spelling fix and

Etc/zsh-development-guide

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,3 +826,33 @@ x_* reserved for private experimental use
826826
zsh The Zsh Development Group (contact: <[email protected]>)
827827

828828
Below the top level, naming authority is delegated.
829+
830+
831+
Distribution of files
832+
---------------------
833+
834+
zsh is distributed in two parts: a "src" distribution containing all
835+
the source files (roughly, but not exactly, corresponding to the CVS
836+
tree), and a "doc" distribution containing some pre-built files from
837+
the documentation directory. All the files in the "doc" distribution
838+
may be generated from files in the "src" distribution with appropriate
839+
freely available tools.
840+
841+
To indicate which files should be distributed, each directory in the CVS
842+
tree includes a file .distfiles that sets any number of a set of Bourne
843+
shell (scalar) parameters. The value of the parameter is expanded as a
844+
set of standard command line arguments. Basic globbing is allowed in the
845+
values.
846+
847+
The following parameters are currently used:
848+
849+
- DISTFILES_SRC is a list of files from the directory for the "src"
850+
distribution.
851+
852+
- DISTFILES_DOC is a list of files from the directory for the "doc"
853+
distribution.
854+
855+
- DISTFILES_NOT is a list of files that will not be included in a
856+
distribution, but that need to be present in the CVS tree. This
857+
variable is not used by the zsh build process and is present for
858+
the convenience of external checks.

Util/.distfiles

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
DISTFILES_SRC='
22
.distfiles
3-
check_exports difflog.pl helpfiles mkdisttree.sh reporter
3+
check_exports
4+
helpfiles
5+
mkdisttree.sh
46
preconfig
7+
reporter
8+
'
9+
DISTFILES_NOT='
10+
difflog.pl
511
'

0 commit comments

Comments
 (0)