summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-04-24 08:11:54 +0000
committerJim Blandy <jimb@redhat.com>1992-04-24 08:11:54 +0000
commitd80634e431e7c41d2ce470c84dcff3bdcfbce737 (patch)
tree72f7ffb437695aa68e271dfb7ae682ccbb4d665e /make-dist
parent4ee3f842d8ef655b0b36debf8039f0f13d937b1d (diff)
downloademacs-d80634e431e7c41d2ce470c84dcff3bdcfbce737.tar.gz
*** empty log message ***
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist24
1 files changed, 16 insertions, 8 deletions
diff --git a/make-dist b/make-dist
index db0a5cb62c4..cd2773bd5c7 100755
--- a/make-dist
+++ b/make-dist
@@ -14,12 +14,17 @@ set -e
# Print out each line we read, for debugging's sake.
# set -v
-cleanup=yes
+clean_up=yes
+make_tar=yes
while [ $# -gt 0 ]; do
case "$1" in
- "--no-cleanup" )
- cleanup=no
+ "--no-clean_up" )
+ clean_up=no
+ ;;
+ "--no-tar" )
+ make_tar=no
+ clean_up=no
;;
* )
echo "${progname}: Unrecognized argument: $1" >&2
@@ -65,9 +70,10 @@ mkdir ${tempdir}
# We copy in the top-level files before creating the subdirectories in
# hopes that this will make the top-level files appear first in the
-# tar file.
+# tar file; this means that people can start reading the INSTALL and
+# README while the rest of the tar file is still unpacking. Whoopee.
echo "Copying top-level files."
-ln INSTALL PROBLEMS README ${tempdir}
+ln GETTING.GNU.SOFTWARE INSTALL PROBLEMS README ${tempdir}
ln ChangeLog Makefile.in build-install.in configure make-dist ${tempdir}
echo "Creating subdirectories."
@@ -174,10 +180,12 @@ for subdir in lisp src lib-src info shortnames; do
ln -s ../etc/COPYING ${tempdir}/${subdir}
done
-echo "Creating tar file."
-(cd ${tempparent}; tar cvf - ${emacsname}) | compress > ${emacsname}.tar.Z
+if [ "${make_tar}" = yes ]; then
+ echo "Creating tar file."
+ (cd ${tempparent}; tar cvf - ${emacsname}) | compress > ${emacsname}.tar.Z
+fi
-if [ "${cleanup}" = yes ]; then
+if [ "${clean_up}" = yes ]; then
echo "Cleaning up the staging directory."
rm -rf ${tempparent}
fi