aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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