diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-01-28 05:50:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-01-28 05:50:06 +0000 |
commit | 859fbb491e023d0ebecaf61fcb5b4bfb2ae677f4 (patch) | |
tree | 585343daa25ec51976cb7914f4d49cd95e50e88e | |
parent | 07d0ce8eb32442b1e7cc3be54fbfc43fc06663d0 (diff) |
2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.maint: Sync nomenclature with that being used in
cpukit/score/include/rtems/system.h (major->minor,
minor->revision).
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.maint | 18 |
2 files changed, 15 insertions, 9 deletions
@@ -1,3 +1,9 @@ +2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org> + + * Makefile.maint: Sync nomenclature with that being used in + cpukit/score/include/rtems/system.h (major->minor, + minor->revision). + 2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org> * Makefile.maint: Remove references to diff --git a/Makefile.maint b/Makefile.maint index 2961b291ef..c8412c0520 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -17,8 +17,8 @@ # Cutting a new release: # 1. Perform a non-anonymous cvs checkout of the BRANCH # you want to cut a release tarball from -# 2. Run "make -f Makefile.maint new-minor" -# (rsp. "make -f Makefile.maint new-major"). +# 2. Run "make -f Makefile.maint new-revision" +# (rsp. "make -f Makefile.maint new-minor"). # 3. Run "make -f Makefile.maint commit" # 4. Run "make -f Makefile.maint tag" # 5. Run "make -f Makefine.maint tarball" @@ -69,27 +69,27 @@ rtems-$(rtems_version)/excludes: Makefile.maint tarball: rtems-$(rtems_version).tar.bz2 # ----------------- -# Create a new major release +# Create a new minor release # increments the 2nd digit of the version number # set the 3rd digit of the version number to 0 # Example: 4.6.99.4 -> 4.7.0 -new-major: +new-minor: @v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \ r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \ r=$$(($$r + 1)); version="$$v.$$r.0"; \ - echo "New major release: $$version"; \ + echo "New minor release: $$version"; \ sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \ $(VERSION_FILES); -# Create a new minor release +# Create a new revision release # increments the last digit of the version number # Examples: 4.6.99.4 -> 4.6.99.5 # 4.7.0 -> 4.7.1 -new-minor: +new-revision: @m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \ n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \ n=$$(($$n + 1)); version="$$m.$$n";\ - echo "New minor release: $$version"; \ + echo "New revision release: $$version"; \ sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \ $(VERSION_FILES); @@ -104,4 +104,4 @@ commit: $(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \ $(VERSION_FILES) -.PHONY: commit new-major new-minor tag tarball +.PHONY: commit new-minor new-revision tag tarball |