src-release.sh: Convert src-release to a shell script
authorWill Newton <will.newton@linaro.org>
Thu, 7 Aug 2014 13:38:55 +0000 (14:38 +0100)
committerWill Newton <will.newton@linaro.org>
Wed, 27 Aug 2014 12:50:06 +0000 (13:50 +0100)
commit2536ee9d03cb7c4af97bf4b29429bef3c30652c2
tree5f756aebfa79cb6ad9ac99405c8d244d55390c15
parent7322eefb9ee1c3b00a2ec3649778b733e43c7b35
src-release.sh: Convert src-release to a shell script

This began as an attempt to make a few small changes to src-release
but heeding the comments at the top of the file it seemed it might be
wise to convert it to a shell script instead which should hopefully
be more maintainable.

This shell script contains most of the functionality of the Makefile
version. It can be run like this:

  # This will build gdb and compress with bzip2, gzip and xz
  ./src-release.sh -bgx gdb

The functionality that has been removed is building tarballs for insight
and gnats, which were broken in the current repository layout and
gas+binutils which amounted to basically the same thing as binutils so
didn't seem worth keeping. The script always builds a tar file,
compression is optional, so no need for specific commands to build tar
files rather than compressed tar files.

The build of gas releases has been fixed, as has extraction of version
numbers which had been broken since the switch to configure.ac files
and AC_INIT.

I also removed the code for distcleaning the intl sub-directory as it
seems like that issue has been fixed.

The script is capable of compressing with bzip2, gzip and xz which
should cover all formats available on gnu.org.

I tested it by producing release tarballs which are substantially
identical to the ones produced by the src-release script.

ChangeLog:

2014-08-27  Will Newton  <will.newton@linaro.org>

* src-release.sh: New file.
* src-release: Remove file.
ChangeLog
src-release [deleted file]
src-release.sh [new file with mode: 0755]
This page took 0.02594 seconds and 4 git commands to generate.