This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH for: release tarballs should have LAST_UPDATED containingrelease tag?

On Tue, 15 Jul 2003, Gerald Pfeifer wrote:
> On Tue, 14 Jul 2003, Alexandre Oliva wrote:
>>>> I see that file is supposed to be created by contrib/gcc_update with
>>>> the date.  It might be nice for the released gcc tarballs to contain
>>>> a LAST_UPDATED file containing just the release tag.
> And I'll also have a look about adding something [...] to the release
> script.

Done thusly.  Committed to mainline after testing snapshots off mainline
and the gcc-3.3 branch; also the gccadmin account on now has
this change.

(This patch is not suitable for the gcc-3.3 branch; it uses infrastructure
which is not present there and probably is too risky to backport.)


2003-08-24  Gerald Pfeifer  <>

	* gcc_release (build_sources): Create/update the LAST_UPDATED file
	in the source directory with information how sources were obtained.

Index: gcc_release
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.41
diff -u -3 -p -r1.41 gcc_release
--- gcc_release	16 Aug 2003 14:02:24 -0000	1.41
+++ gcc_release	24 Aug 2003 13:24:51 -0000
@@ -188,9 +188,11 @@ EOF
     error "Cannot specify -r and -D at the same time"

-  # Run gcc_update on them to set up the timestamps nicely.
+  # Run gcc_update on them to set up the timestamps nicely, and (re)write
+  # the LAST_UPDATED file containing the CVS tag/date used.
   changedir "gcc-${RELEASE}"
   contrib/gcc_update --touch
+  echo "Obtained from CVS: ${EXPORTTAG} ${EXPORTDATE}" > LAST_UPDATED

   # Obtain some documentation files from the wwwdocs module.
   inform "Retrieving HTML documentation"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]