From 7eddf54c1116a37da92218090d4107db78e3fe2c Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Thu, 27 Oct 2016 18:18:40 +0200
Subject: [PATCH] don't delete test/stressRooFit_ref.root in distclean in test.

---
 Makefile      | 2 --
 test/Makefile | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 566b6b8d321..f4851842d53 100644
--- a/Makefile
+++ b/Makefile
@@ -1081,7 +1081,6 @@ endif
 	-@(mv -f tutorials/tmva/data/toy_sigbkg_categ_varoff.root tutorials/tmva/data/toy_sigbkg_categ_varoff.root- >/dev/null 2>&1;true)
 	-@(mv -f tutorials/tmva/tmva_logo.gif tutorials/tmva/tmva_logo.gif- >/dev/null 2>&1;true)
 	-@(mv -f tutorials/spectrum/TSpectrum.root tutorials/spectrum/TSpectrum.root- >/dev/null 2>&1;true)
-	-@(mv -f test/stressRooFit_ref.root test/stressRooFit_ref.root- >/dev/null 2>&1;true)
 	@(find tutorials -name "files" -exec rm -rf {} \; >/dev/null 2>&1;true)
 	@(find tutorials -name "*.root" -exec rm -rf {} \; >/dev/null 2>&1;true)
 	@(find tutorials -name "*.ps" -exec rm -rf {} \; >/dev/null 2>&1;true)
@@ -1100,7 +1099,6 @@ endif
 	-@(mv -f tutorials/tmva/data/toy_sigbkg_categ_varoff.root- tutorials/tmva/data/toy_sigbkg_categ_varoff.root >/dev/null 2>&1;true)
 	-@(mv -f tutorials/tmva/tmva_logo.gif- tutorials/tmva/tmva_logo.gif >/dev/null 2>&1;true)
 	-@(mv -f tutorials/spectrum/TSpectrum.root- tutorials/spectrum/TSpectrum.root >/dev/null 2>&1;true)
-	-@(mv -f test/stressRooFit_ref.root- test/stressRooFit_ref.root >/dev/null 2>&1;true)
 	@rm -f $(ROOTA) $(PROOFSERVA) $(ROOTALIB)
 	@rm -f README/ChangeLog build/dummy.d
 	@rm -f etc/gitinfo.txt
diff --git a/test/Makefile b/test/Makefile
index ae0f7e76d96..692388b404f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -734,12 +734,14 @@ clean:
 
 distclean:      clean
 		-@(mv -f stressRooStats_ref.root stressRooStats_ref.root- >/dev/null 2>&1;true)
+		-@(mv -f stressRooFit_ref.root stressRooFit_ref.root- >/dev/null 2>&1;true)
 		-@(mv -f stressHistFactory_ref.root stressHistFactory_ref.root- >/dev/null 2>&1;true)
 		@rm -f $(PROGRAMS) $(EVENTSO) $(EVENTLIB) *Dict.* *.def *.exp \
 		   *.root *.ps *.so *.lib *.dll *.d *.log .def so_locations \
 		   files/* *.pcm testdb.sqlite
 		@rm -rf cxx_repository
 		-@(mv -f stressRooStats_ref.root- stressRooStats_ref.root >/dev/null 2>&1;true)
+		-@(mv -f stressRooFit_ref.root- stressRooFit_ref.root >/dev/null 2>&1;true)
 		-@(mv -f stressHistFactory_ref.root- stressHistFactory_ref.root >/dev/null 2>&1;true)
 		-@cd RootShower && $(MAKE) distclean
 		-@cd rhtml && $(MAKE) distclean
-- 
GitLab