This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Top level: Separate src release scripts from Makefile


Corresponding to Andrew's wise suggestion, I simply separated the release
script material into a separate file, which can be dealt with
independently of the Makefile.  The new file is "src-release", and it's
just a Makefile, so as to demand minimal code change.  The only changes
are replacement of '-f Makefile.in' with '-f src-release'.  I would have
put it in a subdirectory, but that would have demanded more substantial
changes.

With this change my other changes no longer break anything and can be
reinstated.

On Sun, Sep 29, 2002 at 04:39:20PM -0400, Andrew Cagney wrote:
> ``Looks like'' isn't sufficient :-)  The commands:
> 	gmake -f Makefile.in gdb+dejagnu.tar
'make -f src-release gdb+dejagnu.tar' works.

> 	gmake -f Makefile.in insight+dejagnu.tar
> and some equivalent for binutils, need to work (I'm not sure what 
> BINUTILS uses, ask DanielJ).

I'm currently testing 'make -f src-release gas.tar.bz2'.

I assume the rest work, since there's no real code change, and the others
are all along the same lines.

'src-release' doesn't need to be in the gcc tree.

The admin scripts to make gdb, bintuils, newlib, etc. snapshots need to
be changed to use 'src-release' rather than 'Makefile.in' -- but I don't
know where those scripts are.

The documentation for snapshots and releases needs to be changed
correspondingly, but again I don't know where it is.

If this patch is approved, I won't put it in until I've found all these
points and arranged to deal with them.

Further comments welcomed.

2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

	* src-release: New file, split from Makefile.tpl.
	* Makefile.tpl: Remove parts now in src-release.
	* Makefile.in: Regenerate.

--Nathanael

Attachment: src-release
Description: Text document

Attachment: Makefile.tpl.diff
Description: Text document


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