summaryrefslogtreecommitdiffstats
path: root/Makefile.maint
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-01-27 07:34:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-01-27 07:34:47 +0000
commit17ab08dce04b9c02738c7bb028e6ba5a498a47dd (patch)
tree9a0eac829fffa83705fdc070d6cdf6beb77eb9af /Makefile.maint
parent2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-17ab08dce04b9c02738c7bb028e6ba5a498a47dd.tar.bz2
2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.maint: Remove references to cpukit/score/include/rtems/system.h.
Diffstat (limited to '')
-rw-r--r--Makefile.maint22
1 files changed, 3 insertions, 19 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 146dce980a..2961b291ef 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -79,15 +79,7 @@ new-major:
r=$$(($$r + 1)); version="$$v.$$r.0"; \
echo "New major release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
- $(VERSION_FILES); \
- v=$$(echo $${version} | sed 's,^\([0-9]\+\).*,\1,'); \
- m=$$(echo $${version} | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
- n=$$(echo $${version} | sed 's,^[0-9]\+\.[0-9]\+\.\([0-9]\+\).*,\1,'); \
- sed -i \
- -e "s,^\(#define.*__RTEMS_MAJOR__\).*,\1 $$v," \
- -e "s,^\(#define.*__RTEMS_MINOR__\).*,\1 $$m," \
- -e "s,^\(#define.*__RTEMS_REVISION__\).*,\1 $$n," \
- cpukit/score/include/rtems/system.h
+ $(VERSION_FILES);
# Create a new minor release
# increments the last digit of the version number
@@ -99,15 +91,7 @@ new-minor:
n=$$(($$n + 1)); version="$$m.$$n";\
echo "New minor release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
- $(VERSION_FILES); \
- v=$$(echo $${version} | sed 's,^\([0-9]\+\).*,\1,'); \
- m=$$(echo $${version} | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
- n=$$(echo $${version} | sed 's,^[0-9]\+\.[0-9]\+\.\([0-9]\+\).*,\1,'); \
- sed -i \
- -e "s,^\(#define.*__RTEMS_MAJOR__\).*,\1 $$v," \
- -e "s,^\(#define.*__RTEMS_MINOR__\).*,\1 $$m," \
- -e "s,^\(#define.*__RTEMS_REVISION__\).*,\1 $$n," \
- cpukit/score/include/rtems/system.h
+ $(VERSION_FILES);
VERSION_FILES += aclocal/version.m4
VERSION_FILES += cpukit/aclocal/version.m4
@@ -118,6 +102,6 @@ CVS_RUN := $(shell if [ -n "$(TEST_TAG)" ]; then echo "cvs -n"; else echo "cvs";
commit:
$(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
- $(VERSION_FILES) cpukit/score/include/rtems/system.h
+ $(VERSION_FILES)
.PHONY: commit new-major new-minor tag tarball