Mercurial > vim
comparison src/testdir/Makefile @ 17010:9d9b637b35a9 v8.1.1505
patch 8.1.1505: running "make clean" twice gives errors
commit https://github.com/vim/vim/commit/8ed75cb0b4d06b8c13dfb12bf3c54be0f6f0c71b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 9 14:39:13 2019 +0200
patch 8.1.1505: running "make clean" twice gives errors
Problem: Running "make clean" twice gives errors.
Solution: Add "-f" to "rm". (closes https://github.com/vim/vim/issues/4516)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 09 Jun 2019 14:45:08 +0200 |
parents | f3a6c2c31551 |
children | 9140a11d111a |
comparison
equal
deleted
inserted
replaced
17009:f595dee36579 | 17010:9d9b637b35a9 |
---|---|
83 RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim test.ok benchmark.out | 83 RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim test.ok benchmark.out |
84 RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in | 84 RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in |
85 | 85 |
86 clean: | 86 clean: |
87 -rm -rf *.out *.failed *.res *.rej *.orig | 87 -rm -rf *.out *.failed *.res *.rej *.orig |
88 -rm opt_test.vim test.log test_result.log messages | 88 -rm -f opt_test.vim test.log test_result.log messages |
89 -rm $(RM_ON_RUN) $(RM_ON_START) | 89 -rm -f $(RM_ON_RUN) $(RM_ON_START) |
90 -rm valgrind.* | 90 -rm -f valgrind.* |
91 | 91 |
92 test1.out: test1.in | 92 test1.out: test1.in |
93 -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize | 93 -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize |
94 $(RUN_VIM) $*.in $(REDIR_TEST_TO_NULL) | 94 $(RUN_VIM) $*.in $(REDIR_TEST_TO_NULL) |
95 @/bin/sh -c "if test -f wrongtermsize; \ | 95 @/bin/sh -c "if test -f wrongtermsize; \ |