aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index ca968c8..e3878ba 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -959,6 +959,7 @@ setup-dirs-gdb:
gdb.tar.Z: setup-dirs-gdb
(cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir BISON="byacc")
+ (cd gdb; $(MAKE) -f Makefile.in make-proto-testsuite.dir)
$(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
@@ -1004,6 +1005,19 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
echo "==> Making gdb-$$VER.tar.z"; \
tar cfh - gdb-$$VER | $(GZIP) -v -9 >gdb-$$VER.tar.z)
+ # Make the testsuite archive separately.
+ ln -s ../../gdb/proto-testsuite.dir/testsuite proto-toplev/gdb/testsuite
+ # Put a copy of COPYING in the tar file.
+ ln proto-toplev/gdb/COPYING proto-toplev/gdb/testsuite/COPYING
+ chmod og=u `find proto-toplev/gdb/testsuite -print`
+ (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
+ echo "==> Making gdb-$$VER-testsuite.tar.Z"; \
+ tar cfh - gdb-$$VER/gdb/testsuite | \
+ $(COMPRESS) -v >gdb-$$VER-testsuite.tar.Z; \
+ echo "==> Making gdb-$$VER-testsuite.tar.z"; \
+ tar cfh - gdb-$$VER/gdb/testsuite | \
+ $(GZIP) -v -9 >gdb-$$VER-testsuite.tar.z)
+
# When you use `make setup-dirs' or `make taz' you should always redefine
# this macro.
SUPPORT_FILES = list-of-support-files-for-tool-in-question