Changeset 8b75a07 in rtems


Ignore:
Timestamp:
Feb 15, 2007, 9:03:44 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e36387cf
Parents:
decbbe4d
Message:

2007-02-15 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.maint: Use VERSION as master source for version.m4's.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rdecbbe4d r8b75a07  
    112007-02-15      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * Makefile.maint: Use VERSION as master source for version.m4's.
    34        * VERSION: Sync with version in aclocal/version.m4.
    45
  • Makefile.maint

    rdecbbe4d r8b75a07  
    2929TEST_TAG = -test1
    3030
    31 rtems_version := $(shell cat aclocal/version.m4 | sed -n '/_RTEMS_VERSION/{s/^.*VERSION.*\[\(.*\)\].*/\1/p};')
     31rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
    3232rtems_tag     := $(shell echo "rtems-$(rtems_version)" | tr . -)
    3333
     
    8080        echo "New minor release: $$version"; \
    8181        sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
    82           $(VERSION_FILES);
     82          $(VERSION_FILES); \
     83        sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
    8384
    8485# Create a new revision release
     
    9293        echo "New revision release: $$version"; \
    9394        sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
    94           $(VERSION_FILES);
     95          $(VERSION_FILES); \
     96        sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
    9597
    9698VERSION_FILES += aclocal/version.m4
     
    103105commit:
    104106        $(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
    105           $(VERSION_FILES)
     107          $(VERSION_FILES) VERSION
    106108
    107109.PHONY: commit new-minor new-revision tag tarball
Note: See TracChangeset for help on using the changeset viewer.