aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-06-15 12:47:10 +0000
committerGerd Moellmann2000-06-15 12:47:10 +0000
commit2a714d4e8e4c6f515716d35b1b4d80749d74ad8e (patch)
treef47d35e09886d5c9e5f9d0cfec20bc12e4b88cb3
parent228b083edf63d8a7d24b250b3b57be7f099d0396 (diff)
downloademacs-2a714d4e8e4c6f515716d35b1b4d80749d74ad8e.tar.gz
emacs-2a714d4e8e4c6f515716d35b1b4d80749d74ad8e.zip
Add --help and --snapshot options.
-rwxr-xr-xmake-dist22
1 files changed, 22 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index 06cb8320af6..5aa1c17ca5e 100755
--- a/make-dist
+++ b/make-dist
@@ -74,6 +74,28 @@ while [ $# -gt 0 ]; do
74 "--compress") 74 "--compress")
75 default_gzip="compress" 75 default_gzip="compress"
76 ;; 76 ;;
77
78 "--snapshot")
79 clean_up=yes
80 make_tar=yes
81 update=no
82 check=no
83 ;;
84
85 "--help")
86 echo "Usage: ${progname} [options]"
87 echo ""
88 echo " --clean-up delete staging directories when done"
89 echo " --compress use compress instead of gzip"
90 echo " --newer=TIME don't include files older than TIME"
91 echo " --no-check don't check for bad file names etc."
92 echo " --no-update don't recompile or do analogous things"
93 echo " --snapshot same as --clean-up --no-update --tar --no-check"
94 echo " --tar make a tar file"
95 echo ""
96 exit 0
97 ;;
98
77 * ) 99 * )
78 echo "${progname}: Unrecognized argument: $1" >&2 100 echo "${progname}: Unrecognized argument: $1" >&2
79 exit 1 101 exit 1