aboutsummaryrefslogtreecommitdiff
path: root/src-release
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
commitb03fa48d647e1b22b858a6a3a73e23de1569ab4f (patch)
tree3d4b0fd83216ae35691559138dffb9295c87d5bd /src-release
parent77e22783e491a3fecd29bc0198b4fa85850be0e7 (diff)
downloadnewlib-b03fa48d647e1b22b858a6a3a73e23de1569ab4f.zip
newlib-b03fa48d647e1b22b858a6a3a73e23de1569ab4f.tar.gz
newlib-b03fa48d647e1b22b858a6a3a73e23de1569ab4f.tar.bz2
* src-release (do-proto-toplevel): Support subdir-path-prefixed
files in SUPPORT_FILES. (SIM_SUPPORT_DIRS): New variable. (sim.tar.bz2): New rule.
Diffstat (limited to 'src-release')
-rw-r--r--src-release18
1 files changed, 17 insertions, 1 deletions
diff --git a/src-release b/src-release
index c2f4727..b28597c 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