[cfe-commits] r72704 - /cfe/trunk/lib/Driver/Makefile
Daniel Dunbar
daniel at zuster.org
Mon Jun 1 15:15:35 PDT 2009
Author: ddunbar
Date: Mon Jun 1 17:15:35 2009
New Revision: 72704
URL: http://llvm.org/viewvc/llvm-project?rev=72704&view=rev
Log:
Fix rare failure of .ver-svn creation, it has a dependency that the output
directory exist.
Modified:
cfe/trunk/lib/Driver/Makefile
Modified: cfe/trunk/lib/Driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Makefile?rev=72704&r1=72703&r2=72704&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Makefile (original)
+++ cfe/trunk/lib/Driver/Makefile Mon Jun 1 17:15:35 2009
@@ -20,7 +20,7 @@
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
More information about the cfe-commits
mailing list