From 721ae57d66c08b4d51af6542bdd794427a575a86 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 30 Dec 2008 18:19:47 +0100 Subject: [PATCH] fix parallel installs in include/ dirs This is for http://oss.sgi.com/bugzilla/show_bug.cgi?id=759 "fix parallel issue with include/ symlinks" Doing something like "make -j2 install install-dev" would lead to a race of removing & creating symlinks in include/ Thanks to Mike for reporting & suggesting the fix. Reported-by: Mike Frysinger Signed-off-by: Eric Sandeen --- include/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Makefile b/include/Makefile index c47a43b02..1c681880d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -40,10 +40,10 @@ LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules $(DKHFILES) LSRCFILES += command.h input.h path.h project.h LDIRT = xfs disk -default install : - rm -f xfs disk - $(LN_S) . xfs - $(LN_S) . disk +xfs disk: + $(LN_S) . $@ + +default install: xfs disk include $(BUILDRULES) -- 2.47.2