From bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 12 Feb 2007 15:18:41 +0000 Subject: Move to SVN --- Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 23f6405..4449c6f 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ VERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec | head -1 RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec | head -1| sed -e 's/%mkrel \(.*\)/\1mdk/g') TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') mandir=/usr/share/man +SVNROOT = svn+ssh://svn.mandriva.com/svn/soft/$(PACKAGE) + clean: find . -type d -name '.xvpics' -o -name '*~' |xargs rm -rf @@ -34,17 +36,18 @@ buildrpm: # rules to build a distributable rpm -rpm: changelog cvstag dist buildrpm +rpm: changelog svntag dist buildrpm dist: cleandist dir export tar export: - cvs export -d $(PACKAGE)-$(VERSION) -r $(TAG) $(PACKAGE) + svn export $(SVNROOT)/tags/$(TAG) $(PACKAGE)-$(VERSION) -cvstag: - cvs tag $(CVSTAGOPT) $(TAG) +svntag: + svn copy $(SVNROOT)/trunk $(SVNROOT)/tags/$(TAG) -m "$(TAG)" changelog: ../common/username - cvs2cl -U ../common/username -I ChangeLog +#svn2cl is available in our contrib. + svn2cl --authors ../common/username.xml --accum rm -f ChangeLog.bak - cvs commit -m "Generated by cvs2cl the `date '+%d_%b'`" ChangeLog + svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog -- cgit v1.2.1