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)
This commit is contained in:
Ben Jackson
2023-06-14 15:10:02 +01:00
committed by Bram Moolenaar
parent 95707037af
commit 8d687a7424
2 changed files with 4 additions and 4 deletions

View File

@ -46,10 +46,8 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
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.