aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-dist6
1 files changed, 4 insertions, 2 deletions
diff --git a/make-dist b/make-dist
index f5f2783419e..5c993a19cfd 100755
--- a/make-dist
+++ b/make-dist
@@ -231,7 +231,7 @@ then
231fi 231fi
232 232
233### Make sure configure is newer than configure.in. 233### Make sure configure is newer than configure.in.
234if [ "x`ls -t configure configure.in | head -1`" != "xconfigure" ]; then 234if [ "x`ls -t configure configure.in | sed q`" != "xconfigure" ]; then
235 echo "\`./configure.in' is newer than \`./configure'" >&2 235 echo "\`./configure.in' is newer than \`./configure'" >&2
236 echo "Running autoconf" >&2 236 echo "Running autoconf" >&2
237 autoconf || { x=$?; echo Autoconf FAILED! >&2; exit $x; } 237 autoconf || { x=$?; echo Autoconf FAILED! >&2; exit $x; }
@@ -268,7 +268,9 @@ echo "Making lisp/MANIFEST"
268 files="$files $thisdir" 268 files="$files $thisdir"
269 fi 269 fi
270 done 270 done
271 head -1 $files | grep '^;' | sed -e 's/;;; //' | sort > MANIFEST) 271 for file in $files
272 do sed -n 's/^;;; //p; q' $file
273 done | sort > MANIFEST)
272 274
273echo "Creating staging directory: \`${tempparent}'" 275echo "Creating staging directory: \`${tempparent}'"
274 276