Skip to content

Commit b03fa48

Browse files
* src-release (do-proto-toplevel): Support subdir-path-prefixed
files in SUPPORT_FILES. (SIM_SUPPORT_DIRS): New variable. (sim.tar.bz2): New rule.
1 parent 77e2278 commit b03fa48

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

ChangeLog

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2013-10-15 Hans-Peter Nilsson <[email protected]>
2+
3+
* src-release (do-proto-toplevel): Support subdir-path-prefixed
4+
files in SUPPORT_FILES.
5+
(SIM_SUPPORT_DIRS): New variable.
6+
(sim.tar.bz2): New rule.
7+
18
2013-10-08 Jan-Benedict Glaw <[email protected]>
29

310
* configure.ac: Update from GCC.

src-release

+17-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,15 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
165165
else \
166166
ln -s ../$$d proto-toplev/$$d ; \
167167
fi ; \
168-
else ln -s ../$$d proto-toplev/$$d ; fi ; \
168+
else \
169+
if (echo x$$d | grep / >/dev/null); then \
170+
mkdir -p proto-toplev/`dirname $$d` ; \
171+
x=`dirname $$d` ; \
172+
ln -s ../`echo $$x/ | sed -e 's,[^/]*/,../,g'`$$d proto-toplev/$$d ; \
173+
else \
174+
ln -s ../$$d proto-toplev/$$d ; \
175+
fi ; \
176+
fi ; \
169177
done
170178
cd etc && $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" info
171179
$(MAKE) distclean
@@ -286,6 +294,14 @@ gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
286294
MD5PROG="$(MD5PROG)" \
287295
SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
288296

297+
# Corresponding to the CVS "sim" module.
298+
.PHONY: sim.tar.bz2
299+
SIM_SUPPORT_DIRS= bfd opcodes libiberty include intl gdb/version.in makefile.vms
300+
sim.tar.bz2: $(DIST_SUPPORT) $(SIM_SUPPORT_DIRS) sim
301+
$(MAKE) -f $(SELF) taz TOOL=sim \
302+
MD5PROG="$(MD5PROG)" \
303+
SUPPORT_FILES="$(SIM_SUPPORT_DIRS)"
304+
289305
.PHONY: insight.tar.bz2
290306
INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl libgui
291307
insight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb

0 commit comments

Comments
 (0)