Hi Bram and list,

When execute `make clean` after `make test`, an error is output.
The attached patch fixes this.
Please confirm.

PS
testdir/Make_{dos,ming}.mak had already taken measures.

--------8<--------
$ make
[...]
$ make test
[...]
$ make clean
rm -rf *.out *.failed *.res *.rej *.orig
rm -f opt_test.vim test.log test_result.log messages
rm -f test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim test.ok 
benchmark.out
rm: cannot remove 'XfakeHOME': Is a directory
Makefile:87: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
rm -f valgrind.*
--------8<--------

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/6cc9f628-cdd4-4ef4-b498-42cc2e4f8b26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/Make_amiga.mak b/src/testdir/Make_amiga.mak
index a5855c3cb..9898d15c4 100644
--- a/src/testdir/Make_amiga.mak
+++ b/src/testdir/Make_amiga.mak
@@ -26,6 +26,7 @@ nongui:	/tmp $(SCRIPTS_FIRST) $(SCRIPTS)
 	csh -c echo ALL DONE
 
 clean:
+	csh -c \rm -rf Xdir1 Xfind XfakeHOME
 	csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
 
 .in.out:
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index d3c1184e8..520e208fc 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -86,6 +86,7 @@ RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG)
 clean:
 	-rm -rf *.out *.failed *.res *.rej *.orig
 	-rm -f opt_test.vim test.log test_result.log messages
+	-rm -rf Xdir1 Xfind XfakeHOME
 	-rm -f $(RM_ON_RUN) $(RM_ON_START)
 	-rm -f valgrind.*
 

Raspunde prin e-mail lui