summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2013-10-15 20:45:52 +0000
committerHans-Peter Nilsson <hp@axis.com>2013-10-15 20:45:52 +0000
commite5ae8a551c1651f7dabb844f4bf13a30c7638e30 (patch)
tree8734b79466331c4bad8214817467b52e8251e6b2
parent8b8b740e4f4b2211c3125884189b90b120fba835 (diff)
downloadbinutils-redhat-e5ae8a551c1651f7dabb844f4bf13a30c7638e30.tar.gz
* src-release (do-proto-toplevel): Support subdir-path-prefixed
files in SUPPORT_FILES. (SIM_SUPPORT_DIRS): New variable. (sim.tar.bz2): New rule.
-rw-r--r--ChangeLog7
-rw-r--r--src-release18
2 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 806863d55a..14c97cc6f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-10-15 Hans-Peter Nilsson <hp@axis.com>
+
+ * src-release (do-proto-toplevel): Support subdir-path-prefixed
+ files in SUPPORT_FILES.
+ (SIM_SUPPORT_DIRS): New variable.
+ (sim.tar.bz2): New rule.
+
2013-10-08 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* configure.ac: Update from GCC.
diff --git a/src-release b/src-release
index c2f4727b35..b28597c09d 100644
--- a/src-release
+++ b/src-release
@@ -165,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
@@ -286,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