Changeset 859fbb49 in rtems for Makefile.maint


Ignore:
Timestamp:
Jan 28, 2007, 5:50:06 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7c7aabd
Parents:
07d0ce8
Message:

2007-01-28 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.maint: Sync nomenclature with that being used in cpukit/score/include/rtems/system.h (major->minor, minor->revision).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.maint

    r07d0ce8 r859fbb49  
    1818# 1. Perform a non-anonymous cvs checkout of the BRANCH
    1919#    you want to cut a release tarball from
    20 # 2. Run "make -f Makefile.maint new-minor"
    21 #    (rsp. "make -f Makefile.maint new-major").
     20# 2. Run "make -f Makefile.maint new-revision"
     21#    (rsp. "make -f Makefile.maint new-minor").
    2222# 3. Run "make -f Makefile.maint commit"
    2323# 4. Run "make -f Makefile.maint tag"
     
    7070
    7171# -----------------
    72 # Create a new major release
     72# Create a new minor release
    7373# increments the 2nd digit of the version number
    7474# set the 3rd digit of the version number to 0
    7575# Example: 4.6.99.4 -> 4.7.0
    76 new-major:
     76new-minor:
    7777        @v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
    7878        r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
    7979        r=$$(($$r + 1)); version="$$v.$$r.0"; \
    80         echo "New major release: $$version"; \
     80        echo "New minor release: $$version"; \
    8181        sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
    8282          $(VERSION_FILES);
    8383
    84 # Create a new minor release
     84# Create a new revision release
    8585# increments the last digit of the version number
    8686# Examples: 4.6.99.4 -> 4.6.99.5
    8787#           4.7.0 -> 4.7.1
    88 new-minor:
     88new-revision:
    8989        @m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \
    9090        n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \
    9191        n=$$(($$n + 1)); version="$$m.$$n";\
    92         echo "New minor release: $$version"; \
     92        echo "New revision release: $$version"; \
    9393        sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
    9494          $(VERSION_FILES);
     
    105105          $(VERSION_FILES)
    106106
    107 .PHONY: commit new-major new-minor tag tarball
     107.PHONY: commit new-minor new-revision tag tarball
Note: See TracChangeset for help on using the changeset viewer.