From 85c4ebbf1dab7af93154704ef2fc9f2c198e43f1 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Thu, 3 Jun 2004 09:05:12 +0000
Subject: [PATCH] use condition statement to use only .NOTPARALLEL when target
 map is specified.

git-svn-id: http://root.cern.ch/svn/root/trunk@9104 27541ba8-7e3a-0410-8455-c3a389f83636
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8846c079cd6..2a79beeb4c1 100644
--- a/Makefile
+++ b/Makefile
@@ -336,7 +336,9 @@ endif
                 $(patsubst %,clean-%,$(MODULES)) \
                 $(patsubst %,distclean-%,$(MODULES))
 
-.NOTPARALLEL:   map Makefile
+ifneq ($(findstring map, $(MAKECMDGOALS)),)
+.NOTPARALLEL:
+endif
 
 all:            rootexecs
 
-- 
GitLab