Mercurial > vim
changeset 32597:015cfc6bba2a v9.0.1630
patch 9.0.1630: "make clean" at the toplevel fails
Commit: https://github.com/vim/vim/commit/8d687a7424b33b7ad7f6778b0c5d092a44f4bc3a
Author: Ben Jackson <puremourning@gmail.com>
Date: Wed Jun 14 15:10:02 2023 +0100
patch 9.0.1630: "make clean" at the toplevel fails
Problem: "make clean" at the toplevel fails.
Solution: Clean the indent and syntax directories in a sub-shell. (Ben
Jackson, closes #12536, closes #12526)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Jun 2023 16:15:03 +0200 |
parents | 1f51b1180d87 |
children | 0ee3334c6b32 |
files | Makefile src/version.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile +++ b/Makefile @@ -46,10 +46,8 @@ all install uninstall tools config confi fi @# When the target is "clean" also clean for the indent and syntax tests. @if test "$@" = "clean" -o "$@" = "distclean" -o "$@" = "testclean"; then \ - cd runtime/indent && \ - $(MAKE) clean; \ - cd runtime/syntax && \ - $(MAKE) clean; \ + (cd runtime/indent && $(MAKE) clean); \ + (cd runtime/syntax && $(MAKE) clean); \ fi # Executable used for running the indent tests.