summaryrefslogtreecommitdiffstats
path: root/Makefile.maint
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-01-27 04:42:56 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-01-27 04:42:56 +0000
commit952a969da55676cecf2600a2bf0c0db9e4c2b1a3 (patch)
treec63761ddf024c065b350357fbf0c82a41cd94c8c /Makefile.maint
parentMisc. updates. (diff)
downloadrtems-952a969da55676cecf2600a2bf0c0db9e4c2b1a3.tar.bz2
Add CVS_RUN.
Diffstat (limited to '')
-rw-r--r--Makefile.maint6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.maint b/Makefile.maint
index a7bbf35936..146dce980a 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -114,8 +114,10 @@ VERSION_FILES += cpukit/aclocal/version.m4
VERSION_FILES += c/src/aclocal/version.m4
VERSION_FILES += testsuites/aclocal/version.m4
+CVS_RUN := $(shell if [ -n "$(TEST_TAG)" ]; then echo "cvs -n"; else echo "cvs"; fi)
+
commit:
- cvs -n commit -m "Upgrade to $(rtems_version)" $(VERSION_FILES) \
- cpukit/score/include/rtems/system.h
+ $(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
+ $(VERSION_FILES) cpukit/score/include/rtems/system.h
.PHONY: commit new-major new-minor tag tarball