Skip to content
Snippets Groups Projects
Commit c9d6a2c4 authored by rtoy's avatar rtoy
Browse files

o Document the -S option better.

o Describe how arch and os are derived if they're not specified on the
  command line.
parent 7f578279
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# you extracted the two tarballs and the source distribution into that # you extracted the two tarballs and the source distribution into that
# directory. # 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() { usage() {
echo "make-dist.sh: [-hbg] [-G group] [-O owner] [-I destdir] [-M mandir] dir version [arch os]" echo "make-dist.sh: [-hbg] [-G group] [-O owner] [-I destdir] [-M mandir] dir version [arch os]"
...@@ -22,6 +22,8 @@ usage() { ...@@ -22,6 +22,8 @@ usage() {
echo " -M mandir Install manpages in this subdirectory. Default is man/man1" echo " -M mandir Install manpages in this subdirectory. Default is man/man1"
echo " -S Create a source distribution (requires GNU tar)" echo " -S Create a source distribution (requires GNU tar)"
echo " The compressed tar file is named cmucl-src-<VERSION>.tar.<ext>" 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 " dir Directory where the build is located"
echo " version Version (usually date and/or other version info)" echo " version Version (usually date and/or other version info)"
echo " arch Architecture (x86, sparc, etc.)" echo " arch Architecture (x86, sparc, etc.)"
...@@ -38,6 +40,9 @@ usage() { ...@@ -38,6 +40,9 @@ usage() {
echo "<arch>, and <os> are given values, and <c> is gz or bz2 depending" echo "<arch>, and <os> are given values, and <c> is gz or bz2 depending"
echo "on the selected compression method." echo "on the selected compression method."
echo "" 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 "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 "tar, use the environment variable 'GTAR' to specify GNU tar. You can"
echo "use 'GTAR=gtar make-dist.sh -S ...' in this case." echo "use 'GTAR=gtar make-dist.sh -S ...' in this case."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment