diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2007-02-12 15:18:41 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2007-02-12 15:18:41 +0000 |
commit | bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508 (patch) | |
tree | cbf28380fef5e876f96500ca00e2fa5caba5b9cb /Makefile | |
parent | b7f35612aaf4b3345dd6124c863fa4066d79eeac (diff) | |
download | common-data-bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508.tar common-data-bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508.tar.gz common-data-bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508.tar.bz2 common-data-bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508.tar.xz common-data-bc5c2d480b3eadc03eb81ed903e3bdc1ec7af508.zip |
Move to SVN
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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 |