summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-26 07:28:22 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-26 07:28:22 +0000
commitaadc6f591c0f057012b4689331690886022a6341 (patch)
tree7398fd351555e8edf4e02e7469628dfa65b51921
parent44d950a4e98e6369138ed6ce1f5a32494ef8f27a (diff)
downloadgdb-aadc6f591c0f057012b4689331690886022a6341.tar.gz
Update djunpack.bat as part of creating a GDB archive.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in24
2 files changed, 29 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e0a546e7aa..10c4893000a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Apr 26 17:03:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (do-djunpack): New target. Update djunpack.bat with
+ current version information. Add to proto-toplev directory.
+ (gdb-taz): Build do-djunpack.
+
2000-04-23 Eli Zaretskii <eliz@is.elta.co.il>
* djunpack.bat: New file.
diff --git a/Makefile.in b/Makefile.in
index 461ac42b6e4..038022c09e5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1717,7 +1717,19 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
.PHONY: gdb-taz
gdb-taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
- $(MAKE) -f Makefile.in taz \
+ $(MAKE) -f Makefile.in do-proto-toplev \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+ $(MAKE) -f Makefile.in do-md5sum \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+ $(MAKE) -f Makefile.in do-djunpack \
+ TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
+ MD5PROG="$(MD5PROG)" \
+ SUPPORT_FILES="$(SUPPORT_FILES)"
+ $(MAKE) -f Makefile.in do-tar-bz2 \
TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
MD5PROG="$(MD5PROG)" \
SUPPORT_FILES="$(SUPPORT_FILES)"
@@ -1790,6 +1802,16 @@ do-md5sum:
( cd proto-toplev && find * -follow -type f -print | xargs $(MD5PROG) ) > md5.sum
mv md5.sum proto-toplev
+.PHONY: do-djunpack
+do-djunpack:
+ echo "==> Adding updated djunpack.bat to top-level directory"
+ echo - 's /gdb-[0-9\.]*/gdb-'"$(VER)"'/'
+ sed < djunpack.bat > djunpack.new \
+ -e 's/gdb-[0-9][0-9\.]*/gdb-'"$(VER)"'/'
+ mv djunpack.new djunpack.bat
+ -rm -f proto-toplev/djunpack.bat
+ ln -s ../djunpack.bat proto-toplev/djunpack.bat
+
TEXINFO_SUPPORT= texinfo/texinfo.tex
DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)