From 6e4db19e3042a6e7fea910f5b174bb1e7779c5d4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 29 Sep 2008 16:21:36 +0200 Subject: [PATCH] build: do not do build link if it exists Signed-off-by: Julien Danjou --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c879ca58..47766625 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ $(TARGETS): cmake-build ln -s -f ${builddir}/$@ $@ $(BUILDLN): - ln -s -f ${builddir} $(BUILDLN) + test -e $(BUILDLN) || ln -s -f ${builddir} $(BUILDLN) cmake ${builddir}/CMakeCache.txt: mkdir -p ${builddir}