changeset 21242:c2fbac867d9c v8.2.1172

patch 8.2.1172: error messages when doing "make clean" in doc or tee Commit: https://github.com/vim/vim/commit/08fc48492acc07259d91293df12bf66447819443 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 10 20:40:23 2020 +0200 patch 8.2.1172: error messages when doing "make clean" in doc or tee Problem: Error messages when doing "make clean" in the runtime/doc or src/tee directories. Solution: Use "rm -f".
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Jul 2020 20:45:05 +0200
parents c2a90975a9ed
children 671bfdceb417
files runtime/doc/Makefile src/tee/Makefile src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/Makefile
+++ b/runtime/doc/Makefile
@@ -396,7 +396,7 @@ test_urls:
 	vim -S test_urls.vim
 
 clean:
-	-rm doctags *.html tags.ref
+	-rm -f doctags *.html tags.ref
 
 # These files are in the extra archive, skip if not present
 
--- a/src/tee/Makefile
+++ b/src/tee/Makefile
@@ -4,7 +4,7 @@ CC=gcc
 CFLAGS=-O2 -fno-strength-reduce
 
 ifneq (sh.exe, $(SHELL))
-DEL = rm
+DEL = rm -f
 else
 DEL = del
 endif
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1172,
+/**/
     1171,
 /**/
     1170,