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 33411676d84907355068d9ecb179d4262714406e..beb115ecebe5af5904993f8d86b1dab9ecd59fa8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 1bc91fd713349dff42890f689cc4747d7a761aaa..c6e43af13d045de5d3781694cec3f7a383d96cce 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)