X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src-release;h=b28597c09d64f883388bb67dbbcdfc6d771cf41d;hb=6d00b590316c0b08de21a264893b0fd627c54686;hp=c3253ec895df4d6c1cde8a293dc21a0de885a561;hpb=944982cfb1f8783d088191a7d292be97856a4e18;p=binutils-gdb.git diff --git a/src-release b/src-release index c3253ec895d..b28597c09d6 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 \ @@ -159,7 +165,15 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex else \ ln -s ../$$d proto-toplev/$$d ; \ fi ; \ - else ln -s ../$$d proto-toplev/$$d ; fi ; \ + else \ + if (echo x$$d | grep / >/dev/null); then \ + mkdir -p proto-toplev/`dirname $$d` ; \ + x=`dirname $$d` ; \ + ln -s ../`echo $$x/ | sed -e 's,[^/]*/,../,g'`$$d proto-toplev/$$d ; \ + else \ + ln -s ../$$d proto-toplev/$$d ; \ + fi ; \ + fi ; \ done cd etc && $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" info $(MAKE) distclean @@ -249,7 +263,7 @@ gas.tar.bz2: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas # The FSF "binutils" release includes gprof and ld. .PHONY: binutils.tar.bz2 -BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms mkdep cpu depcomp +BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu binutils.tar.bz2: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils $(MAKE) -f $(SELF) taz TOOL=binutils \ MD5PROG="$(MD5PROG)" \ @@ -269,7 +283,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)" \ @@ -280,6 +294,14 @@ gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb MD5PROG="$(MD5PROG)" \ SUPPORT_FILES="$(GDB_SUPPORT_DIRS)" +# Corresponding to the CVS "sim" module. +.PHONY: sim.tar.bz2 +SIM_SUPPORT_DIRS= bfd opcodes libiberty include intl gdb/version.in makefile.vms +sim.tar.bz2: $(DIST_SUPPORT) $(SIM_SUPPORT_DIRS) sim + $(MAKE) -f $(SELF) taz TOOL=sim \ + MD5PROG="$(MD5PROG)" \ + SUPPORT_FILES="$(SIM_SUPPORT_DIRS)" + .PHONY: insight.tar.bz2 INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl libgui insight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb