From 5c9610b0e74c6c092e13bf93ef9a5e014fad76b6 Mon Sep 17 00:00:00 2001 From: Axel Naumann <Axel.Naumann@cern.ch> Date: Tue, 26 Feb 2013 14:34:49 +0000 Subject: [PATCH] Don't need root-config for (dist)clean; fixes make[1]: Entering directory `test' Makefile:20: etc/Makefile.arch: No such file or directory make[1]: root-config: Command not found make[1]: root-config: Command not found make[1]: root-config: Command not found make[1]: root-config: Command not found make[1]: root-config: Command not found make[1]: root-config: Command not found make[1]: *** No rule to make target `etc/Makefile.arch'. Stop. when running make distclean without ROOTSYS git-svn-id: http://root.cern.ch/svn/root/trunk@48714 27541ba8-7e3a-0410-8455-c3a389f83636 --- test/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Makefile b/test/Makefile index 3c2412a7dc8..026c770e6d8 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) -- GitLab