diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 9 |
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] |