aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-12-06 12:57:21 +0000
committerFlorent Villard <warly@mandriva.com>2006-12-06 12:57:21 +0000
commit5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2 (patch)
tree4c824886f90fa77c46534b4aa48be960dd43b5cf
parent152ac2ef7c9dd74172aada139d6d7227ff77605f (diff)
downloadiurt-5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2.tar
iurt-5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2.tar.gz
iurt-5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2.tar.bz2
iurt-5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2.tar.xz
iurt-5bde5ee49cfecd0785a47bf8b12c2db7de77e3d2.zip
update Makefile with a submit entry
-rw-r--r--Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a7d9c91..306f4dd 100644
--- a/Makefile
+++ b/Makefile
@@ -46,14 +46,19 @@ localrpm: tar $(RPM)
ci: tar
svn ci -m 'Update soft SPEC for version $(VERSION)' $(NAME).spec
- svn rm -m 'Remove previously copied spec to replace it for $(VERSION)' $(SVNPACKAGE)/SPECS/$(NAME).spec
- svn cp -m 'Update package SPEC for version $(VERSION)' $(SVNSOFT)/$(NAME).spec $(SVNPACKAGE)/SPECS/
- mkdir svn; cd svn; mdvsys co iurt
- cp $(NAME).tar svn/iurt/SOURCES/
- cd svn; mdvsys ci -m 'update tarball for version $(VERSION)'
+ # not a good idea
+ # svn rm -m 'Remove previously copied spec to replace it for $(VERSION)' $(SVNPACKAGE)/SPECS/$(NAME).spec
+ # svn cp -m 'Update package SPEC for version $(VERSION)' $(SVNSOFT)/$(NAME).spec $(SVNPACKAGE)/SPECS/
+ mkdir svn; cd svn; mdvsys co $(NAME)
+ cp $(NAME).spec svn/$(NAME)/SPECS/
+ cp $(NAME).tar svn/$(NAME)/SOURCES/
+ cd svn/$(NAME)/; mdvsys ci -m 'update tarball and spec for version $(VERSION)'
rpm: clean ci
- cd svn/iurt; bm
+ cd svn/$(NAME); bm
clean:
rm -rf svn
+
+submit: clean ci
+ mdvsys submit iurt