summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-16 00:04:11 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-16 00:04:11 +0000
commit21c0a6083920c93bd28a3ee3e9844dfba581d567 (patch)
treee305b5ca26fa795238ffaebccc8909d5f0404843 /Makefile.in
parent2bc9881fc268a78fbcaddf6b724bf0da191db4ea (diff)
downloadbinutils-redhat-21c0a6083920c93bd28a3ee3e9844dfba581d567.tar.gz
Add code to tweek djunpack as part of release process.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 461ac42b6e..038022c09e 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)