summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-15 12:47:10 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-15 12:47:10 +0000
commit2a714d4e8e4c6f515716d35b1b4d80749d74ad8e (patch)
treef47d35e09886d5c9e5f9d0cfec20bc12e4b88cb3 /make-dist
parent228b083edf63d8a7d24b250b3b57be7f099d0396 (diff)
downloademacs-2a714d4e8e4c6f515716d35b1b4d80749d74ad8e.tar.gz
Add --help and --snapshot options.
Diffstat (limited to 'make-dist')
-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
"--compress")
default_gzip="compress"
;;
+
+ "--snapshot")
+ clean_up=yes
+ make_tar=yes
+ update=no
+ check=no
+ ;;
+
+ "--help")
+ echo "Usage: ${progname} [options]"
+ echo ""
+ echo " --clean-up delete staging directories when done"
+ echo " --compress use compress instead of gzip"
+ echo " --newer=TIME don't include files older than TIME"
+ echo " --no-check don't check for bad file names etc."
+ echo " --no-update don't recompile or do analogous things"
+ echo " --snapshot same as --clean-up --no-update --tar --no-check"
+ echo " --tar make a tar file"
+ echo ""
+ exit 0
+ ;;
+
* )
echo "${progname}: Unrecognized argument: $1" >&2
exit 1