aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-04-30 06:32:38 +0000
committerFred Fish <fnf@specifix.com>1993-04-30 06:32:38 +0000
commit873045c13f7c3b1a592f1c0f44c35e3d75cd9561 (patch)
tree342df7064432e938ec4e0590c6304da39a331924 /Makefile.in
parent97e72c06bd4e31774b39c94fcef1bdf4aaa03137 (diff)
downloadgdb-873045c13f7c3b1a592f1c0f44c35e3d75cd9561.zip
gdb-873045c13f7c3b1a592f1c0f44c35e3d75cd9561.tar.gz
gdb-873045c13f7c3b1a592f1c0f44c35e3d75cd9561.tar.bz2
* Makefile.in (gdb.tar.Z): Make prototype gdb testsuite directory
at the same time we make the prototype gdb directory. * Makefile.in (make-gdb.tar.Z): Make the testsuite distribution files at the same time as the gdb base release distribution.
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