aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-13 21:39:34 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-13 21:39:34 +0000
commit39b25736cc2dd1c37c388cf2d2c126b59fcfd843 (patch)
treeee247a8ccbf43b14dd56dacf83c7711ba40dd995 /src/Makefile
parent988eb84930ef67db9f334f351062bd931f552ba0 (diff)
downloadsos-39b25736cc2dd1c37c388cf2d2c126b59fcfd843.tar.gz
Fixed Makefile for svn, bumped version
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@13 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index d2947546..53e69d70 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,17 +7,20 @@ VERSION = $(shell awk '/define version/ { print $$3 }' sos.spec)
RELEASE = $(shell awk '/define release/ { print $$3 }' sos.spec)
REPO = https://sos.108.redhat.com/svn/sos
SVNTAG = r$(subst .,-,$(VERSION)-$(RELEASE))
-CVSROOT = $(shell cat CVS/Root)
all:
-tag-archive:
+.PHONY: tag-archive create-archive archive install version clean
+
+../../tags/$(SVNTAG):
@svn copy $(REPO)/trunk/src $(REPO)/tags/$(SVNTAG) \
-m "Tagging the $(SVNTAG) release of the sos project"
@echo "$(SVNTAG)"
-create-archive: tag-archive
+tag-archive: ../../tags/$(SVNTAG)
+
+create-archive:
@rm -rf /tmp/$(NAME)
@svn export $(REPO)/tags/$(SVNTAG)/src /tmp/$(NAME) \
|| echo GRRRrrrrr -- ignore [export aborted]