./src-release.sh -x binutils
+ FIXME: Not sure if the following steps are needed...
+
+ Add a .dirstamp file to the gas/doc subdirectory:
+
+ touch -d <today's date> binutils-2.<release>/gas/doc/.dirstamp
+ tar rvf binutils-<release>.tar binutils-<release>/gas/doc/.ditstamp
+ rm binutils-<release>.tar.xz
+ xz -9 binutils-<release>.tar
+
+ eg:
+ touch -d 2023-06-01 binutils-2.40.90/gas/doc/.dirstamp
+ tar rvf binutils-2.40.90.tar binutils-2.40.90/gas/doc/.ditstamp
+ rm binutils-2.40.90.tar.xz
+ xz -9 binutils-2.40.90.tar
+
+ ...END OF FIXME
+
c. Build a test target using this tarball.
- cp binutils-2.39.90.tar.xz /dev/shm
+ cp binutils-2.40.90.tar.xz /dev/shm
pushd /dev/shm
- tar xvf binutils-2.39.90.tar.xz
+ tar xvf binutils-2.40.90.tar.xz
mkdir build
cd build
- ../binutils-2.39.90/configure --quiet --enable-gold
+ ../binutils-2.40.90/configure --quiet --enable-gold
make
popd
d. Upload the pre-release snapshot to the sourceware FTP site:
- scp binutils-2.39.90.tar.xz sourceware.org:/var/ftp/pub/binutils/snapshots
- ssh sourceware.org sha256sum ~ftp/pub/binutils/snapshots/binutils-2.39.90.tar.xz
+ scp binutils-2.40.90.tar.xz sourceware.org:/var/ftp/pub/binutils/snapshots
+ ssh sourceware.org sha256sum ~ftp/pub/binutils/snapshots/binutils-2.40.90.tar.xz
e. Clean up the source directory again.