diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 21:18:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 21:18:11 +0000 |
commit | 741d80742f6341dcdc07ee2c39a5b036b81b6fb5 (patch) | |
tree | 6176f213634aac1d761fe1b8dffbfbc7db8cc85f /Makefile | |
parent | 1b1565d4d688e74430b55dca32eee8ef0cbb1869 (diff) | |
download | mgaonline-741d80742f6341dcdc07ee2c39a5b036b81b6fb5.tar mgaonline-741d80742f6341dcdc07ee2c39a5b036b81b6fb5.tar.gz mgaonline-741d80742f6341dcdc07ee2c39a5b036b81b6fb5.tar.bz2 mgaonline-741d80742f6341dcdc07ee2c39a5b036b81b6fb5.tar.xz mgaonline-741d80742f6341dcdc07ee2c39a5b036b81b6fb5.zip |
get rid of rpm packaging rules that now resides in repsys
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 2 insertions, 29 deletions
@@ -1,7 +1,5 @@ PACKAGE = mdkonline -VERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec|head -n 1) -RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec|head -n 1) -TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') +VERSION:=2.4 SVNROOT = svn+ssh://svn.mandriva.com/svn/soft/$(PACKAGE) NAME = mdkonline @@ -52,18 +50,9 @@ install: all # rules to build a test rpm -localrpm: clean localdist buildrpm - -localsrpm: clean localdist buildsrpm - -localdist: cleandist dir localcopy tar - cleandist: rm -rf $(PACKAGE)-$(VERSION) ../$(PACKAGE)-$(VERSION).tar.bz2 -dir: - mkdir $(PACKAGE)-$(VERSION) - localcopy: clean find . -not -name "$(PACKAGE)-$(VERSION)" -a -not -name '*.bz2'|cpio -pd $(PACKAGE)-$(VERSION)/ find $(PACKAGE)-$(VERSION) -type d -name CVS|xargs rm -rf @@ -73,25 +62,9 @@ tar: bzip2 -9vf ../$(PACKAGE)-$(VERSION).tar rm -rf $(PACKAGE)-$(VERSION) -buildrpm: - rpm -ta ../$(PACKAGE)-$(VERSION).tar.bz2 - rm -f ../$(PACKAGE)-$(VERSION).tar.bz2 - -buildsrpm: - rpm -ts ../$(PACKAGE)-$(VERSION).tar.bz2 - rm -f ../$(PACKAGE)-$(VERSION).tar.bz2 - # rules to build a distributable rpm -rpm: changelog svntag dist buildrpm - -dist: cleandist export tar - -export: - svn export $(SVNROOT)/tags/$(TAG) $(PACKAGE)-$(VERSION) - -svntag: - svn copy $(SVNROOT)/trunk $(SVNROOT)/tags/$(TAG) -m "$(TAG)" +dist: cleandist localcopy tar log:changelog |