diff --git a/test/Makefile b/test/Makefile index 3c2412a7dc8a688cae2ed8fee49ef13f405a277c..026c770e6d855e9bf7021117c8265163da54d62f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -7,6 +7,7 @@ # Author: Fons Rademakers, 29/2/2000 RC := root-config +ifeq ($(findstring $(MAKECMDTARGET),clean),) ifeq ($(shell which $(RC) 2>&1 | sed -ne "s@.*/$(RC)@$(RC)@p"),$(RC)) MKARCH := $(wildcard $(shell $(RC) --etcdir)/Makefile.arch) RCONFIG := $(wildcard $(shell $(RC) --incdir)/RConfigure.h) @@ -19,6 +20,7 @@ ROOTSYS = .. endif include $(ROOTSYS)/etc/Makefile.arch endif +endif # Tutorials dir needed by stressProof ifneq ($(RCONFIG),) TUTDIR := $(wildcard $(shell grep ROOTDOCDIR $(RCONFIG) | sed "s|.*\"\(.*\)\"|\1|")/tutorials)