Commit 57b64636 authored by sumpfralle's avatar sumpfralle

simplify the release information and the Makefile


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@196 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 9b7c0c2d
VER=0.1.10 # use something like "VERSION=0.2 make" to override the VERSION on the command line
VERSION ?= svn
SVN_BASE = https://pycam.svn.sourceforge.net/svnroot/pycam
RELEASE_PREFIX = pycam-
EXPORT_DIR = $(RELEASE_PREFIX)$(VERSION)
EXPORT_FILE_PREFIX = $(EXPORT_DIR)
all:
.PHONY: dist .PHONY: zip tgz svn_export tag
dist: dist: zip tgz
(cd ..; tar zcf pycam/pycam.tgz pycam/*{Makefile,Changelog,TXT} pycam/*.py pycam/Tests/*.py pycam/pycam/*/*.py pycam/pycam/*.py pycam/Samples/*/*.stl) @# remove the tmp directory when everything is done
@rm -rf "$(EXPORT_DIR)"
dist-ver: clean:
(cd ..; tar zcf pycam-$(VER).tgz pycam-$(VER)/*{Makefile,Changelog,TXT} pycam-$(VER)/*.py pycam-$(VER)/Tests/*.py pycam-$(VER)/pycam/*/*.py pycam-$(VER)/pycam/*.py pycam-$(VER)/Samples/*/*.{stl,cfg}) @rm -rf "$(EXPORT_DIR)"
svn_export: clean
svn export --quiet "$(SVN_BASE)/trunk" "$(EXPORT_DIR)"
zip: svn_export
zip -9rq "$(EXPORT_FILE_PREFIX).zip" "$(EXPORT_DIR)"
tgz: svn_export
tar czf "$(EXPORT_FILE_PREFIX).tar.gz" "$(EXPORT_DIR)"
tag:
svn cp "$(SVN_BASE)/trunk" "$(SVN_BASE)/tags/release-$(VERSION)"
svn co http://... pycam-0.1.11 1) update the version
cd pycam-0.1.11
1) Update the version numbers
- in "Makefile"
- in "pycam/Gui/gtk-interface/pycam-project.ui" ("version" in "GtkAboutDialog") - in "pycam/Gui/gtk-interface/pycam-project.ui" ("version" in "GtkAboutDialog")
- in "changelog.txt" (including a summary of changes) - in "changelog.txt" (including a summary of changes)
- commit the changes
2) commit & tag 2) create the archives
- svn commit trunk - VERSION=0.2 make dist
- svn cp trunk tags/release-0.x.y && svn commit
3) create the archives 3) create an svn tag for the release
- "make dist-ver" - VERSION=0.2 make tag
4) upload files to sourceforge 4) upload files to sourceforge
- https://sourceforge.net/project/admin/explorer.php?group_id=237831 - https://sourceforge.net/project/admin/explorer.php?group_id=237831
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment