summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-06 11:36:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-06 11:36:41 +0000
commit70d7dc227ef28c7c3a9da3bf863574e5be0d5756 (patch)
tree9a310665caf42a40277d310baee374900307f81e
parent2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-70d7dc227ef28c7c3a9da3bf863574e5be0d5756.tar.bz2
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.maint: Dump stuff hanging around for much too long.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.maint17
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c645b38c05..becd19d213 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
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:
Remove comment referring to HPUX9.
diff --git a/Makefile.maint b/Makefile.maint
index 09e342f495..a189fa7d61 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -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