emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 ea84222: * make-dist (manifest): Filter out msdos/autogen/* fil


From: Eli Zaretskii
Subject: emacs-28 ea84222: * make-dist (manifest): Filter out msdos/autogen/* files.
Date: Sun, 12 Dec 2021 13:21:20 -0500 (EST)

branch: emacs-28
commit ea8422204f1fbd354e4d25b8c99fd4916db87296
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    * make-dist (manifest): Filter out msdos/autogen/* files.
---
 make-dist | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/make-dist b/make-dist
index eb04015..b069130 100755
--- a/make-dist
+++ b/make-dist
@@ -392,9 +392,11 @@ manifest=MANIFEST
 # other way when adding or deleting a distributed file while not using Git.
 # TODO: maybe this should ignore $update, and always update MANIFEST
 # if .git is present.
+# Filter out the files in msdos/autogen/, as they aren't useful in the
+# tarball, and get in the way during the build of the MSDOS port.
 if ( [ $update = yes ] || [ ! -f $manifest ] ) && [ -r .git ]; then
   echo "Updating $manifest"
-  git ls-files > $manifest || exit
+  git ls-files | sed -e '/^msdos\/autogen\//d' > $manifest || exit
   printf '%s\n' $possibly_non_vc_files $info_files >>$manifest || exit
   sort -u -o $manifest $manifest || exit
 fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]