From c9d6a2c43c4d0180580d7174f14e6efe34985eee Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Thu, 30 Sep 2010 21:21:41 +0000 Subject: [PATCH] o Document the -S option better. o Describe how arch and os are derived if they're not specified on the command line. --- tools/make-dist.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/make-dist.sh b/tools/make-dist.sh index 75ba30048..84c07b9d7 100755 --- a/tools/make-dist.sh +++ b/tools/make-dist.sh @@ -9,7 +9,7 @@ # you extracted the two tarballs and the source distribution into that # directory. # -# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/make-dist.sh,v 1.16 2010/02/01 15:04:51 rtoy Rel $ +# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/make-dist.sh,v 1.17 2010/09/30 21:21:41 rtoy Exp $ usage() { echo "make-dist.sh: [-hbg] [-G group] [-O owner] [-I destdir] [-M mandir] dir version [arch os]" @@ -22,6 +22,8 @@ usage() { echo " -M mandir Install manpages in this subdirectory. Default is man/man1" echo " -S Create a source distribution (requires GNU tar)" echo " The compressed tar file is named cmucl-src-<VERSION>.tar.<ext>" + echo " If -I is also given, the -S means that the sources are " + echo " installed in the <destdir>/src" echo " dir Directory where the build is located" echo " version Version (usually date and/or other version info)" echo " arch Architecture (x86, sparc, etc.)" @@ -38,6 +40,9 @@ usage() { echo "<arch>, and <os> are given values, and <c> is gz or bz2 depending" echo "on the selected compression method." echo "" + echo "If arch and os are not given, the script will attempt to figure an" + echo "appropriate value for arch and os from the running system." + echo "" echo "Creating a source distribution requires GNU tar. If 'tar' is not GNU" echo "tar, use the environment variable 'GTAR' to specify GNU tar. You can" echo "use 'GTAR=gtar make-dist.sh -S ...' in this case." -- GitLab