From af979374818cb94cfabba8ec95f13ddae58a7ba5 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 1 Jun 2009 22:15:35 +0000 Subject: [PATCH] Fix rare failure of .ver-svn creation, it has a dependency that the output directory exist. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72704 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Driver/Makefile b/lib/Driver/Makefile index 5110872862..d163f0fe9e 100644 --- a/lib/Driver/Makefile +++ b/lib/Driver/Makefile @@ -20,7 +20,7 @@ SVN_REVISION := $(shell cd $(PROJ_SRC_DIR)/../.. && svnversion) CPP.Defines += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include \ -DSVN_REVISION='"$(SVN_REVISION)"' -$(ObjDir)/.ver-svn .ver: +$(ObjDir)/.ver-svn .ver: $(ObjDir)/.dir @if [ '$(SVN_REVISION)' != '$(shell cat $(ObjDir)/.ver-svn 2>/dev/null)' ]; then\ echo '$(SVN_REVISION)' > $(ObjDir)/.ver-svn; \ fi -- 2.40.0