]> git.eshelyaron.com Git - emacs.git/commit
admin/merge-gnulib now warns if module lists change
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jan 2025 19:29:26 +0000 (11:29 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:43:25 +0000 (21:43 +0100)
commit6fabc4005a6162085bd7c2a4976578a2fa84bef3
treeabe96340b518a0a813af3b31b94d4abcc08731a1
parent354c2e6219a40427a17723039625c34138331612
admin/merge-gnulib now warns if module lists change

From suggestions by Eli Zaretski and Stefan Kangas in:
https://lists.gnu.org/r/emacs-devel/2025-01/msg00036.html
https://lists.gnu.org/r/emacs-devel/2025-01/msg00037.html
* admin/merge-gnulib: For style consistency,
prefer ‘[ EXPR ]’ to ‘test EXPR’ and prefer -e to -f.
Fix bug that forgot to clean lib directory if it’s ./lib.
Check for lib/gnulib.mk.in, which we used directly, not ‘configure’.
(LC_ALL): Set to C.
(autogen): New function, to make it clearer to user when
commands are operating in some other directory.
(get_module_list): New function.
(old_modules, new_modules): New vars.
If they differ, issue a warning.

(cherry picked from commit f65520cad46273967da2343feeb2201363c190e0)
admin/merge-gnulib