[llvm-commits] [llvm-top] r37880 - /llvm-top/trunk/Makefile
Reid Spencer
reid at x10sys.com
Wed Jul 4 20:03:07 PDT 2007
Author: reid
Date: Wed Jul 4 22:03:07 2007
New Revision: 37880
URL: http://llvm.org/viewvc/llvm-project?rev=37880&view=rev
Log:
Deduce the SVNROOT from the 'svn info .' command. This retains the user's
SVNROOT from the original checkout of llvm-top, including protocol and user
name so it is propagated down to the sub-directory.
Modified:
llvm-top/trunk/Makefile
Modified: llvm-top/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm-top/trunk/Makefile?rev=37880&r1=37879&r2=37880&view=diff
==============================================================================
--- llvm-top/trunk/Makefile (original)
+++ llvm-top/trunk/Makefile Wed Jul 4 22:03:07 2007
@@ -13,8 +13,8 @@
# development environment, including checking out other software, configuration,
# etc.
#
-SVN = svn
-SVNROOT = http://llvm.org/svn/llvm-project
+SVN = $(shell which svn)
+SVNROOT = $(shell $(SVN) info . | grep 'Repository Root:' | sed -e 's/^Repository Root: //')
.PHONY: get-llvm get-hlvm get-stacker get-test-suite get-llvm-gcc
More information about the llvm-commits
mailing list