X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src-release.sh;h=8a50d97603b37b605e6333a23645f47c042ce3b1;hb=ce5aecf87372749a5ec511f218956756aa185d0f;hp=2414cd08101474e3680bb73d356ffaefb02bceda;hpb=ef87240fd95c5f29a697eccf20b2f1f6dc3593a6;p=binutils-gdb.git diff --git a/src-release.sh b/src-release.sh index 2414cd08101..8a50d97603b 100755 --- a/src-release.sh +++ b/src-release.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 1990-2017 Free Software Foundation +# Copyright (C) 1990-2018 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,16 +37,14 @@ MAKEINFOFLAGS=--split-size=5000000 # # Support for building net releases -# Files in devo used in any net release. -DEVO_SUPPORT="README Makefile.in configure configure.ac \ - config.guess config.sub config move-if-change \ - COPYING COPYING.LIB install-sh config-ml.in symlink-tree \ - mkinstalldirs ltmain.sh missing ylwrap \ - libtool.m4 ltsugar.m4 ltversion.m4 ltoptions.m4 \ - Makefile.def Makefile.tpl src-release.sh config.rpath \ - ChangeLog MAINTAINERS README-maintainer-mode \ - lt~obsolete.m4 ltgcc.m4 depcomp mkdep compile \ - COPYING3 COPYING3.LIB" +# Files in root used in any net release. +DEVO_SUPPORT="ar-lib ChangeLog compile config config-ml.in config.guess \ + config.rpath config.sub configure configure.ac COPYING COPYING.LIB \ + COPYING3 COPYING3.LIB depcomp install-sh libtool.m4 ltgcc.m4 \ + ltmain.sh ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4 \ + MAINTAINERS Makefile.def Makefile.in Makefile.tpl missing mkdep \ + mkinstalldirs move-if-change README README-maintainer-mode \ + src-release.sh symlink-tree test-driver ylwrap" # Files in devo/etc used in any net release. ETC_SUPPORT="Makefile.in configure configure.in standards.texi \ @@ -77,6 +75,10 @@ do_proto_toplev() ver=$2 tool=$3 support_files=$4 + + echo "==> Cleaning sources." + find \( -name "*.orig" -o -name "*.rej" -o -name "*~" -o -name ".#*" -o -name "*~$bkpat" \) -exec rm {} \; + echo "==> Making $package-$ver/" # Take out texinfo from a few places. sed -e '/^all\.normal: /s/\all-texinfo //' \ @@ -309,7 +311,7 @@ gas_release() tar_compress $package $tool "$GAS_SUPPORT_DIRS" "$compressors" } -GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu zlib" +GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu zlib contrib" gdb_release() { compressors=$1