* Makefile.in (gdb.tar.Z): Make prototype gdb testsuite directory
authorFred Fish <fnf@specifix.com>
Fri, 30 Apr 1993 06:32:38 +0000 (06:32 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 30 Apr 1993 06:32:38 +0000 (06:32 +0000)
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.

ChangeLog
Makefile.in

index 976812a63984ece88fbb6c7fb42d7dcdd2235ffb..668aa28a241886c2076650cc187cbd0b2a884d8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Apr 29 23:30:48 1993  Fred Fish  (fnf@cygnus.com)
+
+       * 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.
+
 Thu Apr 29 12:50:37 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * Makefile.in (check): Use individual check targets rather than
index ca968c86ebf7aa551dc4edcec164e05801fc31a9..e3878bafeb173a1a230705db4b8ac28fe8a1b2cf 100644 (file)
@@ -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