aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist18
1 files changed, 3 insertions, 15 deletions
diff --git a/make-dist b/make-dist
index 606fdd9e3a0..7074bb801be 100755
--- a/make-dist
+++ b/make-dist
@@ -52,7 +52,6 @@ make_tar=no
52default_gzip=gzip 52default_gzip=gzip
53newer="" 53newer=""
54with_info=yes 54with_info=yes
55with_tests=yes
56changelog=yes 55changelog=yes
57verbose=no 56verbose=no
58 57
@@ -109,16 +108,10 @@ while [ $# -gt 0 ]; do
109 update=no 108 update=no
110 ;; 109 ;;
111 110
112 ## Include the test/ directory. 111 "--tests"|"--no-tests")
113 ## This is for backward compatibility to when --no-tests was the default. 112 echo "The option $1 no longer does anything"
114 "--tests")
115 with_tests=yes
116 ;; 113 ;;
117 114
118 ## Exclude the test/ directory.
119 "--no-tests")
120 with_tests=no
121 ;;
122 115
123 "--verbose") 116 "--verbose")
124 verbose=yes 117 verbose=yes
@@ -136,7 +129,6 @@ while [ $# -gt 0 ]; do
136 echo " --no-update don't recompile or do analogous things" 129 echo " --no-update don't recompile or do analogous things"
137 echo " --no-changelog don't generate the top-level ChangeLog" 130 echo " --no-changelog don't generate the top-level ChangeLog"
138 echo " --no-info don't include info files" 131 echo " --no-info don't include info files"
139 echo " --no-tests don't include the test/ directory"
140 echo " --snapshot same as --clean-up --no-update --tar" 132 echo " --snapshot same as --clean-up --no-update --tar"
141 echo " --tar make a tar file" 133 echo " --tar make a tar file"
142 echo " --verbose noisier output" 134 echo " --verbose noisier output"
@@ -402,11 +394,7 @@ manifest=MANIFEST
402# if .git is present. 394# if .git is present.
403if ( [ $update = yes ] || [ ! -f $manifest ] ) && [ -r .git ]; then 395if ( [ $update = yes ] || [ ! -f $manifest ] ) && [ -r .git ]; then
404 echo "Updating $manifest" 396 echo "Updating $manifest"
405 if [ $with_tests = yes ]; then 397 git ls-files > $manifest || exit
406 git ls-files > $manifest
407 else
408 git ls-files | grep -v '^test' >$manifest
409 fi || exit
410 printf '%s\n' $possibly_non_vc_files $info_files >>$manifest || exit 398 printf '%s\n' $possibly_non_vc_files $info_files >>$manifest || exit
411 sort -u -o $manifest $manifest || exit 399 sort -u -o $manifest $manifest || exit
412fi 400fi