[cfe-commits] r67225 - /cfe/trunk/lib/Driver/Makefile
Mike Stump
mrs at apple.com
Wed Mar 18 13:12:50 PDT 2009
Author: mrs
Date: Wed Mar 18 15:12:50 2009
New Revision: 67225
URL: http://llvm.org/viewvc/llvm-project?rev=67225&view=rev
Log:
Move generated file to ObjDir.
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=67225&r1=67224&r2=67225&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Makefile (original)
+++ cfe/trunk/lib/Driver/Makefile Wed Mar 18 15:12:50 2009
@@ -19,8 +19,8 @@
include $(LEVEL)/Makefile.common
.ver:
- @if [ '$(SVN_REVISION)' != '$(shell cat .ver-svn 2>/dev/null)' ]; then \
- echo '$(SVN_REVISION)' > .ver-svn; \
+ @if [ '$(SVN_REVISION)' != '$(shell cat $(ObjDir)/.ver-svn 2>/dev/null)' ]; then\
+ echo '$(SVN_REVISION)' > $(ObjDir)/.ver-svn; \
fi
-.ver-svn: .ver
-$(ObjDir)/Driver.o: .ver-svn
+$(ObjDir)/.ver-svn: .ver
+$(ObjDir)/Driver.o: $(ObjDir)/.ver-svn
More information about the cfe-commits
mailing list