From 17ab08dce04b9c02738c7bb028e6ba5a498a47dd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 27 Jan 2007 07:34:47 +0000 Subject: =?UTF-8?q?2007-01-27=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Makefile.maint: Remove references to cpukit/score/include/rtems/system.h. --- Makefile.maint | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'Makefile.maint') 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 -- cgit v1.2.3