2004-10-19 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Tue, 19 Oct 2004 18:52:04 +0000 (18:52 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 19 Oct 2004 18:52:04 +0000 (18:52 +0000)
* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.

ChangeLog
src-release

index 3341167..beb115e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-10-19  Andrew Cagney  <cagney@gnu.org>
 
+       * src-release (do-djunpack, do-md5sum): Install the generated file
+       directly into the proto-toplev/ directory.
+       
+2004-10-19  Andrew Cagney  <cagney@gnu.org>
+
        * src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
 
 2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>
index 1bc91fd..c6e43af 100644 (file)
@@ -228,8 +228,9 @@ do-md5sum:
        echo "==> Adding md5 checksum to top-level directory"
        cd proto-toplev && find * -follow $(CVS_NAMES) -prune \
                        -o -type f -print \
-               | xargs $(MD5PROG) > ../md5.sum
-       mv md5.sum proto-toplev
+               | xargs $(MD5PROG) > ../md5.new
+       -rm -f proto-toplev/md5.sum
+       mv md5.new proto-toplev/md5.sum
 
 .PHONY: do-djunpack
 do-djunpack:
@@ -237,9 +238,8 @@ do-djunpack:
        echo - 's /gdb-[0-9\.]*/$(PACKAGE)-'"$(VER)"'/'
        sed < djunpack.bat > djunpack.new \
                -e 's/gdb-[0-9][0-9\.]*/$(PACKAGE)-'"$(VER)"'/'
-       mv djunpack.new djunpack.bat
        -rm -f proto-toplev/djunpack.bat
-       ln -s ../djunpack.bat proto-toplev/djunpack.bat
+       mv djunpack.new proto-toplev/djunpack.bat
 
 TEXINFO_SUPPORT= texinfo/texinfo.tex
 DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)