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

* Makefile.maint: Dump stuff hanging around for much too long.
This commit is contained in:
Ralf Corsepius
2009-02-06 11:36:41 +00:00
parent 3158138dd1
commit 70d7dc227e
2 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.maint: Dump stuff hanging around for much too long.
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4:

View File

@@ -131,6 +131,23 @@ new-revision:
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
# -----------------
# Create a new branch
# increments the 2nd digit of the version number
# set the 3rd digit of the version number to 99
# set the 4rd digit of the version number to 0
# Example: 4.6.34.4 -> 4.7.99.0
new-branch:
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.99.0"; \
api="$$v.$$(($$r + 1))"; \
echo "New branch release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
-e "s|\[RTEMS_API\],\[.*\]|\[RTEMS_API\],\[$$api\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
VERSION_FILES += aclocal/version.m4
VERSION_FILES += cpukit/aclocal/version.m4
VERSION_FILES += c/src/aclocal/version.m4