Raymond Toy pushed to branch issue-352-new-compression-for-dist at cmucl / cmucl
Commits:
-
b9e0b5f5
by Raymond Toy at 2024-08-27T16:03:56-07:00
-
376c4ce6
by Raymond Toy at 2024-08-27T16:10:13-07:00
2 changed files:
Changes:
1 | 1 | #!/bin/sh
|
2 | 2 | |
3 | +usage() {
|
|
4 | + echo "make-extra-dist.sh [-t tar] [-I destdir] [-G group] [-O owner]"
|
|
5 | + echo " -h This help"
|
|
6 | + echo " -? This help"
|
|
7 | + echo " -t tar Tar program to use"
|
|
8 | + echo " -I destdir Install directly to given directory instead of creating a tarball"
|
|
9 | + echo " -G group Group to use"
|
|
10 | + echo " -O owner Owner to use"
|
|
11 | + echo ""
|
|
12 | + echo "This is generally called by make-dist.sh and not normally invoked by the user"
|
|
13 | + echo ""
|
|
14 | + echo "Create a tarball of the extra components for cmucl. This includes things like "
|
|
15 | + echo "CLX; Hemlock; CLM; contrib library not already included in the main"
|
|
16 | + echo "distribution; locale messages."
|
|
17 | + exit 1
|
|
18 | +}
|
|
19 | + |
|
3 | 20 | GTAR=tar
|
4 | -set -x
|
|
5 | 21 | while getopts "G:O:I:t:h?" arg
|
6 | 22 | do
|
7 | 23 | case $arg in
|
... | ... | @@ -17,8 +33,7 @@ shift `expr $OPTIND - 1` |
17 | 33 | |
18 | 34 | if [ "$1" = "" -o "$2" = "" -o "$3" = "" -o "$4" = "" ]
|
19 | 35 | then
|
20 | - echo "Usage: $0 target-directory version arch os"
|
|
21 | - exit 1
|
|
36 | + usage
|
|
22 | 37 | fi
|
23 | 38 | |
24 | 39 | if [ ! -d "$1" ]
|
1 | 1 | #!/bin/sh
|
2 | 2 | |
3 | +usage() {
|
|
4 | + echo "make-main-dist.sh [-h?] [-t tar] [-I destdir] [-G group] [-O owner] [-M mandir]"
|
|
5 | + echo " target-directory version arch os"
|
|
6 | + echo " -h This help"
|
|
7 | + echo " -? This help"
|
|
8 | + echo " -t tar Tar program to use"
|
|
9 | + echo " -I destdir Install directly to given directory instead of creating a tarball"
|
|
10 | + echo " -G group Group to use"
|
|
11 | + echo " -O owner Owner to use"
|
|
12 | + echo " -M mandir Install manpages in this subdirectory. Default is man/man1"
|
|
13 | + echo ""
|
|
14 | + echo "This is generally called by make-dist.sh and not normally invoked by the user"
|
|
15 | + echo ""
|
|
16 | + echo "Create a tarball consisting of the main components needed to distribute"
|
|
17 | + echo "a binary installation of cmucl. This includes the C executable and support"
|
|
18 | + echo "libraries; the subsystems like Gray streams, and simple streams; external"
|
|
19 | + echo "formats; contribs like asdf and defsystem; manpages and READMEs."
|
|
20 | + exit 1
|
|
21 | +}
|
|
22 | +
|
|
3 | 23 | GTAR=tar
|
4 | -set -x
|
|
5 | 24 | while getopts "G:O:I:M:t:h?" arg
|
6 | 25 | do
|
7 | 26 | case $arg in
|
... | ... | @@ -18,8 +37,7 @@ shift `expr $OPTIND - 1` |
18 | 37 | |
19 | 38 | if [ "$1" = "" -o "$2" = "" -o "$3" = "" -o "$4" = "" ]
|
20 | 39 | then
|
21 | - echo "Usage: $0 target-directory version arch os"
|
|
22 | - exit 1
|
|
40 | + usage
|
|
23 | 41 | fi
|
24 | 42 | |
25 | 43 | if [ ! -d "$1" ]
|