X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=src-release.sh;h=1f69deeb0e6127dd2c2d4d14d4084fed977e2567;hb=348fe36b1d64f12c60e08f6313520b3191663063;hp=275f0f24b5d3c1a3e764865684eb8495b55c2378;hpb=95c746ccc47cbf927ff2cbebabf910859b090164;p=deliverable%2Fbinutils-gdb.git diff --git a/src-release.sh b/src-release.sh index 275f0f24b5..1f69deeb0e 100755 --- a/src-release.sh +++ b/src-release.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 1990-2018 Free Software Foundation +# Copyright (C) 1990-2020 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 @@ -61,8 +61,8 @@ getver() $tool/common/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-git$//' rm -f VER.tmp - elif test -f $tool/gdbsupport/create-version.sh; then - $tool/gdbsupport/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp + elif test $tool = "gdb"; then + ./gdbsupport/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-git$//' rm -f VER.tmp elif test -f $tool/version.in; then @@ -315,7 +315,7 @@ gas_release() tar_compress $package $tool "$GAS_SUPPORT_DIRS" "$compressors" } -GDB_SUPPORT_DIRS="bfd include libiberty libctf opcodes readline sim intl libdecnumber cpu zlib contrib gnulib" +GDB_SUPPORT_DIRS="bfd include libiberty libctf opcodes readline sim intl libdecnumber cpu zlib contrib gnulib gdbsupport gdbserver" gdb_release() { compressors=$1