This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: maintainer-scripts/gcc_release -- .gz files only for releases
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 28 Jun 2003 02:28:02 +0200 (CEST)
- Subject: PATCH: maintainer-scripts/gcc_release -- .gz files only for releases
I tested this by creating an (inofficial) snapshot on gcc.gnu.org and
committed it to mainline and updated the gccadmin acount:
2003-06-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release: Command "all" now creates .gz files only for
releases and pre-releases.
Mark, I'd also like to put this on the 3.3-branch. It should make no
difference there, but if I somehow missed something, I'd prefer we
notice in a few weeks when you roll the first 3.3.1 pre-release instead
of several months when you roll the first 3.4 pre-release.
(Most of my changes either are exclusively for snapshooting or are to code
fully exercised by rolling snapshots, and I'll try to use extreme care, so
I hope you don't have to worry about gcc_release beeing completely foobar
by 3.4 in any case. :-> )
Gerald
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.31
diff -u -3 -p -r1.31 gcc_release
--- gcc_release 27 Jun 2003 19:29:01 -0000 1.31
+++ gcc_release 28 Jun 2003 00:17:06 -0000
@@ -611,7 +611,12 @@ while [ $# -ne 0 ]; do
sources) MODE_SOURCES=1;;
tarfiles) MODE_TARFILES=1;;
upload) MODE_UPLOAD=1;;
- all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_GZIP=1; MODE_UPLOAD=1;;
+ all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_UPLOAD=1;
+ if [ $SNAPSHOT -ne 1 ]; then
+ # Only for releases and pre-releases.
+ MODE_GZIP=1;
+ fi
+ ;;
*) error "Unknown mode $1";;
esac
shift