[cfe-commits] r66181 - /cfe/tags/Apple/clang/Makefile
Mike Stump
mrs at apple.com
Thu Mar 5 11:33:51 PST 2009
Author: mrs
Date: Thu Mar 5 13:33:51 2009
New Revision: 66181
URL: http://llvm.org/viewvc/llvm-project?rev=66181&view=rev
Log:
Add tagging and retagging support.
Modified:
cfe/tags/Apple/clang/Makefile
Modified: cfe/tags/Apple/clang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/Apple/clang/Makefile?rev=66181&r1=66180&r2=66181&view=diff
==============================================================================
--- cfe/tags/Apple/clang/Makefile (original)
+++ cfe/tags/Apple/clang/Makefile Thu Mar 5 13:33:51 2009
@@ -63,8 +63,24 @@
SVN_BASE := $(shell svn info | sed -n 's/^URL: //; s,/llvm-project/.*$$,/llvm-project,p')
SVN_CLANG := $(shell svn info | sed -n 's/^URL: //p')
+SVN_TAGS := $(shell dirname $(SVN_CLANG))
update-clang:
svn rm -m 'Update.' $(SVN_CLANG)/clang
svn cp -m 'Update.' $(SVN_BASE)/llvm/trunk $(SVN_CLANG)/clang
svn cp -m 'Update.' $(SVN_BASE)/cfe/trunk $(SVN_CLANG)/clang/tools/clang
+
+tag-clang:
+ if [ -n "$(VERSION)" ]; then \
+ svn cp -m 'Tag.' $(SVN_TAGS)/clang $(SVN_TAGS)/clang-$(VERSION); \
+ else \
+ echo Usage: make VERSION=25 tag-clang; \
+ fi
+
+retag-clang:
+ if [ -n "$(VERSION)" ]; then \
+ svn rm -m 'Retag.' $(SVN_TAGS)/clang-$(VERSION) && \
+ svn cp -m 'Retag.' $(SVN_TAGS)/clang $(SVN_TAGS)/clang-$(VERSION); \
+ else \
+ echo Usage: make VERSION=25 retag-clang; \
+ fi
More information about the cfe-commits
mailing list