Changeset 70d7dc22 in rtems


Ignore:
Timestamp:
Feb 6, 2009, 11:36:41 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
3f426966
Parents:
3158138
Message:

2009-02-06 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.maint: Dump stuff hanging around for much too long.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r3158138 r70d7dc22  
     12009-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * Makefile.maint: Dump stuff hanging around for much too long.
     4
    152009-02-06      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • Makefile.maint

    r3158138 r70d7dc22  
    132132        sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
    133133
     134# -----------------
     135# Create a new branch
     136# increments the 2nd digit of the version number
     137# set the 3rd digit of the version number to 99
     138# set the 4rd digit of the version number to 0
     139# Example: 4.6.34.4 -> 4.7.99.0
     140new-branch:
     141        v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
     142        r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
     143        r=$$(($$r + 1)); version="$$v.$$r.99.0"; \
     144        api="$$v.$$(($$r + 1))"; \
     145        echo "New branch release: $$version"; \
     146        sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
     147          -e "s|\[RTEMS_API\],\[.*\]|\[RTEMS_API\],\[$$api\]|" \
     148          $(VERSION_FILES); \
     149        sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
     150
    134151VERSION_FILES += aclocal/version.m4
    135152VERSION_FILES += cpukit/aclocal/version.m4
Note: See TracChangeset for help on using the changeset viewer.