summaryrefslogtreecommitdiffstats
path: root/Makefile.maint
diff options
context:
space:
mode:
authorcvs2git <rtems-devel@rtems.org>2007-03-05 20:53:28 +0000
committercvs2git <rtems-devel@rtems.org>2007-03-05 20:53:28 +0000
commit5728225e7709ff3195b00215ecff50359c71070b (patch)
treec112a1ceeaf2cd3b28946e6e4ff20494da8d2fcf /Makefile.maint
parent2007-03-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-4.7.0.tar.bz2
This commit was manufactured by cvs2svn to create tag 'rtems-4-7-0'.4.7.0
Sprout from rtems-4-7-branch 2007-03-05 20:53:27 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2007-03-05 Joel Sherrill <joel@OARcorp.com>' Delete: Makefile.maint contrib/apt-conf/.cvsignore contrib/apt-conf/COPYING contrib/apt-conf/ChangeLog contrib/apt-conf/INSTALL contrib/apt-conf/Makefile.am contrib/apt-conf/README contrib/apt-conf/configure.ac contrib/apt-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458 contrib/apt-conf/rtems-apt-conf.spec.in contrib/apt-conf/sources.list.d/rtems-4.6.list contrib/apt-conf/sources.list.d/rtems-4.7.list contrib/apt-conf/vendors.list.d/rtems.list contrib/crossrpms/.cvsignore contrib/crossrpms/AUTHORS contrib/crossrpms/COPYING contrib/crossrpms/ChangeLog contrib/crossrpms/Makefile.am contrib/crossrpms/NEWS contrib/crossrpms/README contrib/crossrpms/TODO contrib/crossrpms/acinclude.m4 contrib/crossrpms/autotools/.cvsignore contrib/crossrpms/autotools/Makefile.am contrib/crossrpms/autotools/autoconf.add contrib/crossrpms/autotools/autoconf.am contrib/crossrpms/autotools/automake.add contrib/crossrpms/autotools/automake.am contrib/crossrpms/autotools/target-autoconf.add contrib/crossrpms/autotools/target-automake.add contrib/crossrpms/binutils/.cvsignore contrib/crossrpms/binutils/base-binutils.add contrib/crossrpms/binutils/binutils.add contrib/crossrpms/binutils/build.add contrib/crossrpms/binutils/install.add contrib/crossrpms/binutils/prep.add contrib/crossrpms/binutils/rpm-install.add contrib/crossrpms/binutils/target-binutils.add contrib/crossrpms/bootstrap contrib/crossrpms/common/clean.add contrib/crossrpms/common/common.add contrib/crossrpms/configure.ac contrib/crossrpms/gcc/base-g77.add contrib/crossrpms/gcc/base-gcc.add contrib/crossrpms/gcc/base-gcj.add contrib/crossrpms/gcc/base-gfortran.add contrib/crossrpms/gcc/base-gnat.add contrib/crossrpms/gcc/base-newlib.add contrib/crossrpms/gcc/build.add contrib/crossrpms/gcc/gccnewlib.add contrib/crossrpms/gcc/install.add contrib/crossrpms/gcc/prep.add contrib/crossrpms/gcc/rpm-install.add contrib/crossrpms/gcc/target-c++.add contrib/crossrpms/gcc/target-g77.add contrib/crossrpms/gcc/target-gcc.add contrib/crossrpms/gcc/target-gcj.add contrib/crossrpms/gcc/target-gfortran.add contrib/crossrpms/gcc/target-gnat.add contrib/crossrpms/gcc/target-newlib.add contrib/crossrpms/gcc/target-objc.add contrib/crossrpms/gdb/base-gdb.add contrib/crossrpms/gdb/build.add contrib/crossrpms/gdb/gdb.add contrib/crossrpms/gdb/install.add contrib/crossrpms/gdb/prep.add contrib/crossrpms/gdb/rpm-install.add contrib/crossrpms/gdb/target-gdb.add contrib/crossrpms/mkspec.am contrib/crossrpms/patches/binutils-2.16.1-rtems-20050708.diff contrib/crossrpms/patches/binutils-2.17-rtems4.7-20061021.diff contrib/crossrpms/patches/gcc-core-4.0.3-rtems-20060822.diff contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060720.diff contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060909.diff contrib/crossrpms/patches/gcc-core-4.1.1-rtems4.7-20070102.diff contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.7-20070216.diff contrib/crossrpms/patches/gdb-6.4-rtems-20060311.diff contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070222.diff contrib/crossrpms/patches/newlib-1.14.0-rtems4.7-20061019.diff contrib/crossrpms/patches/newlib-1.15.0-rtems4.7-20070208.diff contrib/crossrpms/rtems4.7/.cvsignore contrib/crossrpms/rtems4.7/Makefile.am contrib/crossrpms/rtems4.7/arm/.cvsignore contrib/crossrpms/rtems4.7/arm/Makefile.am contrib/crossrpms/rtems4.7/arm/binutils-sources.add contrib/crossrpms/rtems4.7/arm/gcc-sources.add contrib/crossrpms/rtems4.7/arm/gdb-sources.add contrib/crossrpms/rtems4.7/avr/.cvsignore contrib/crossrpms/rtems4.7/avr/Makefile.am contrib/crossrpms/rtems4.7/avr/binutils-sources.add contrib/crossrpms/rtems4.7/avr/gcc-sources.add contrib/crossrpms/rtems4.7/avr/gdb-sources.add contrib/crossrpms/rtems4.7/binutils.am contrib/crossrpms/rtems4.7/gcc-prep.add contrib/crossrpms/rtems4.7/gcc.am contrib/crossrpms/rtems4.7/gdb.am contrib/crossrpms/rtems4.7/h8300/.cvsignore contrib/crossrpms/rtems4.7/h8300/Makefile.am contrib/crossrpms/rtems4.7/h8300/binutils-sources.add contrib/crossrpms/rtems4.7/h8300/gcc-sources.add contrib/crossrpms/rtems4.7/h8300/gdb-sources.add contrib/crossrpms/rtems4.7/i386/.cvsignore contrib/crossrpms/rtems4.7/i386/Makefile.am contrib/crossrpms/rtems4.7/i386/binutils-sources.add contrib/crossrpms/rtems4.7/i386/gcc-sources.add contrib/crossrpms/rtems4.7/i386/gdb-sources.add contrib/crossrpms/rtems4.7/m68k/.cvsignore contrib/crossrpms/rtems4.7/m68k/Makefile.am contrib/crossrpms/rtems4.7/m68k/binutils-sources.add contrib/crossrpms/rtems4.7/m68k/gcc-sources.add contrib/crossrpms/rtems4.7/m68k/gdb-sources.add contrib/crossrpms/rtems4.7/mips/.cvsignore contrib/crossrpms/rtems4.7/mips/Makefile.am contrib/crossrpms/rtems4.7/mips/binutils-sources.add contrib/crossrpms/rtems4.7/mips/gcc-sources.add contrib/crossrpms/rtems4.7/mips/gdb-sources.add contrib/crossrpms/rtems4.7/mipstx39/.cvsignore contrib/crossrpms/rtems4.7/mipstx39/Makefile.am contrib/crossrpms/rtems4.7/mipstx39/gdb-sources.add contrib/crossrpms/rtems4.7/powerpc/.cvsignore contrib/crossrpms/rtems4.7/powerpc/Makefile.am contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add contrib/crossrpms/rtems4.7/sh/.cvsignore contrib/crossrpms/rtems4.7/sh/Makefile.am contrib/crossrpms/rtems4.7/sh/binutils-sources.add contrib/crossrpms/rtems4.7/sh/gcc-sources.add contrib/crossrpms/rtems4.7/sh/gdb-sources.add contrib/crossrpms/rtems4.7/sparc/.cvsignore contrib/crossrpms/rtems4.7/sparc/Makefile.am contrib/crossrpms/rtems4.7/sparc/binutils-sources.add contrib/crossrpms/rtems4.7/sparc/gcc-sources.add contrib/crossrpms/rtems4.7/sparc/gdb-sources.add contrib/crossrpms/specstrip contrib/mingw/.cvsignore contrib/mingw/AUTHORS contrib/mingw/COPYING contrib/mingw/ChangeLog contrib/mingw/README contrib/mingw/build-exes.sh contrib/mingw/build-rpms.sh contrib/mingw/build.sh contrib/mingw/rtems-license.rtf contrib/mingw/rtems-tools.nsi contrib/mingw/rtems.ini contrib/mingw/rtems_logo.bmp contrib/mingw/targets contrib/repo-conf/.cvsignore contrib/repo-conf/AUTHORS contrib/repo-conf/COPYING contrib/repo-conf/ChangeLog contrib/repo-conf/INSTALL contrib/repo-conf/Makefile.am contrib/repo-conf/NEWS contrib/repo-conf/README contrib/repo-conf/aclocal/version.m4 contrib/repo-conf/apt/sources.list.d/.cvsignore contrib/repo-conf/apt/sources.list.d/rtems.list.in contrib/repo-conf/apt/vendors.list.d/rtems.list contrib/repo-conf/configure.ac contrib/repo-conf/gpg/gpg-pubkey-69ce4a83-44cc2b30 contrib/repo-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458 contrib/repo-conf/rtems-repo-conf.spec.in contrib/repo-conf/yum.repos.d/.cvsignore contrib/repo-conf/yum.repos.d/rtems.repo.in contrib/rtemsrpms/.cvsignore contrib/rtemsrpms/AUTHORS contrib/rtemsrpms/COPYING contrib/rtemsrpms/ChangeLog contrib/rtemsrpms/INSTALL contrib/rtemsrpms/Makefile.am contrib/rtemsrpms/NEWS contrib/rtemsrpms/README contrib/rtemsrpms/bootstrap contrib/rtemsrpms/configure.ac contrib/rtemsrpms/rtems.spec.in testsuites/samples/base_sp/.cvsignore
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint135
1 files changed, 0 insertions, 135 deletions
diff --git a/Makefile.maint b/Makefile.maint
deleted file mode 100644
index 468335621b..0000000000
--- a/Makefile.maint
+++ /dev/null
@@ -1,135 +0,0 @@
-#
-# Maintainer Makefile
-#
-
-# WARNING:
-
-# THIS IS EXPERIMENTAL - DO NOT USE (YET) !
-
-# * This Makefile is only useful to RTEMS maintainers
-# * You must have write access to RTEMS CVS
-# * Running this Makefile modifies RTEMS CVS
-# * Watch out for warning and error messages - Do NOT IGNORE them!
-
-
-# MAINTAINER notes:
-
-
-# Cutting a new release:
-# 1. Perform a non-anonymous cvs checkout of the BRANCH
-# you want to cut a release tarball from
-# 2. Run "make -f Makefile.maint new-revision"
-# (rsp. "make -f Makefile.maint new-minor").
-# 3. Run "make -f Makefile.maint commit"
-# 4. Run "make -f Makefile.maint tag"
-# 5. Run "make -f Makefile.maint tarball"
-
-# -----------------
-# SECURITY: Append a string to tag to avoid accidentially screwing up cvs-tags
-# For "hot runs" you will want to use "make -f Makefile.maint TAG_SUFFIX= <command>"
-TAG_SUFFIX = -test1
-
-rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
-rtems_tag := $(shell echo "rtems-$(rtems_version)" | tr . -)
-rtems_api := 4.7
-PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
-
-# -----------------
-# Cleanup check out and cvs-tag the files inside
-tag:
- cvs -z9 up -dP >/dev/null
- ./bootstrap -p >/dev/null
- cvs tag -c $(rtems_tag)$(TAG_SUFFIX) >/dev/null
-
-# -----------------
-# Different stages of cvs-exporting
-rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX):
- rm -rf rtems-$(rtems_version)
- @cvs -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TAG_SUFFIX) rtems >/dev/null
- @if ! test -f rtems-$(rtems_version)/VERSION; then \
- echo "ERROR export failed"; \
- echo " Did you run 'make -f Makefile.maint tag' ?"; exit1; fi
- echo "$(rtems_tag)$(TAG_SUFFIX)" > rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
-
-rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
- rtems-$(rtems_version)/excludes \
- rtems-$(rtems_version)/TOOL_VERSIONS
- tar -cj -X rtems-$(rtems_version)/excludes \
- -f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
-
-rtems-$(rtems_version)/stamp.cleanup: rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
- find rtems-$(rtems_version) -name .cvsignore -exec rm -f {} \;
- find rtems-$(rtems_version) -name preinstall.am -exec touch {} \;
- touch rtems-$(rtems_version)/c/src/librdbg/src/*/*/remdeb*.[hc]
- rm -rf rtems-$(rtems_version)/contrib
- touch rtems-$(rtems_version)/stamp.cleanup
-
-rtems-$(rtems_version)/stamp.autofiles: rtems-$(rtems_version)/stamp.cleanup
- cd rtems-$(rtems_version) && ./bootstrap -r
- touch rtems-$(rtems_version)/stamp.autofiles
-
-rtems-$(rtems_version)/excludes: Makefile.maint
- @echo "Generating $@"
- @echo "excludes" > $@
- @echo "stamp.*" >> $@
- @echo "autom4te.cache" >> $@
- @echo "Makefile.maint" >> $@
-
-tarball: rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2
-
-rtems-$(rtems_version)/TOOL_VERSIONS: Makefile.maint
- ( \
- date ; \
- echo ; \
- echo "This file contains configuration information on the " ; \
- echo "primary computer used to test and make the $(rtems_version)" ; \
- echo "version of RTEMS" ; \
- echo ; \
- echo "OS Version: " `head -1 /etc/issue` ; \
- echo ; \
- echo "The following RTEMS RPMs were installed on the machine" ; \
- echo "where this release was made:" ; \
- echo ; \
- rpm -qa 'rtems-$(rtems_api)-*' | sort | sed -e 's/^/ /' ; \
- echo \
- ) > $@
-
-# -----------------
-# Create a new minor release
-# increments the 2nd digit of the version number
-# set the 3rd digit of the version number to 0
-# Example: 4.6.99.4 -> 4.7.0
-new-minor:
- @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.0"; \
- echo "New minor release: $$version"; \
- sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
- $(VERSION_FILES); \
- sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
-
-# Create a new revision release
-# increments the last digit of the version number
-# Examples: 4.6.99.4 -> 4.6.99.5
-# 4.7.0 -> 4.7.1
-new-revision:
- @m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \
- n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \
- n=$$(($$n + 1)); version="$$m.$$n";\
- echo "New revision release: $$version"; \
- sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
- $(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
-VERSION_FILES += testsuites/aclocal/version.m4
-
-CVS_RUN := $(shell if [ -n "$(TAG_SUFFIX)" ]; then echo "cvs -n"; else echo "cvs"; fi)
-
-commit:
- $(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
- $(VERSION_FILES) VERSION
-
-.PHONY: commit new-minor new-revision tag tarball