X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=src-release;h=c2f4727b35ebd86794e77c7a3b449c22b3176b09;hb=3f983d475ae51820e37978b443c327b13650faaa;hp=bdb8c1d50a60ed66ccf46b00d3b33fc8a5ec9792;hpb=662c6704d31b47420fbd4423000e33b84939fc0c;p=deliverable%2Fbinutils-gdb.git diff --git a/src-release b/src-release index bdb8c1d50a..c2f4727b35 100644 --- a/src-release +++ b/src-release @@ -57,7 +57,7 @@ DEVO_SUPPORT= README Makefile.in configure configure.ac \ # Files in devo/etc used in any net release. ETC_SUPPORT= Makefile.in configure configure.in standards.texi \ make-stds.texi standards.info* configure.texi configure.info* \ - ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl + ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl gnu-oids.texi # When you use `make setup-dirs' or `make taz' you should always redefine @@ -67,9 +67,15 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question # NOTE: No double quotes in the below. It is used within shell script # as VER="$(VER)" VER = ` if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \ - sed < bfd/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ + bfd/configure --version | sed -n -e '1s,.* ,,p'; \ elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ + elif test -f $(TOOL)/common/create-version.sh; then \ + $(TOOL)/common/create-version.sh $(TOOL) \ + 'dummy-host' 'dummy-target' \ + VER.tmp; \ + cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-cvs$$//'; \ + rm -f VER.tmp; \ elif test -f $(TOOL)/version.in; then \ head -1 $(TOOL)/version.in; \ elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \ @@ -269,7 +275,7 @@ gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)" .PHONY: gdb.tar.bz2 -GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber +GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber cpu gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f $(SELF) gdb-taz TOOL=gdb \ MD5PROG="$(MD5PROG)" \