This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/gdb-6.0] Add dejagnu.tar src-release rule


Hello,

The attached modifies src/src-release so that:
gmake -f src-release dejagnu.tar
works (gdb.tar, and insight.tar already work). In doing this I found/fixed fixed a bug - the script "djunpack.bat" wasn't being correctly updated for insight and dejagnu (although the odds of that script being used or working in both those cases is very low :-).


Committed to gdb's 6.0 branch and the mainline,

Andrew
2003-09-14  Andrew Cagney  <cagney@redhat.com>

	* src-release (dejagnu.tar): New target.
	(dejagnu.tar.bz2): Recursively call "gdb-taz" rule.
	(do-djunpack): Use $(PACKAGE) for the package name.

Index: src-release
===================================================================
RCS file: /cvs/src/src/src-release,v
retrieving revision 1.5.14.1
diff -u -r1.5.14.1 src-release
--- src-release	18 Aug 2003 06:35:13 -0000	1.5.14.1
+++ src-release	14 Sep 2003 17:58:02 -0000
@@ -219,9 +219,9 @@
 .PHONY: do-djunpack
 do-djunpack:
 	echo "==> Adding updated djunpack.bat to top-level directory"
-	echo - 's /gdb-[0-9\.]*/gdb-'"$(VER)"'/'
+	echo - 's /gdb-[0-9\.]*/$(PACKAGE)-'"$(VER)"'/'
 	sed < djunpack.bat > djunpack.new \
-		-e 's/gdb-[0-9][0-9\.]*/gdb-'"$(VER)"'/'
+		-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
@@ -272,7 +272,12 @@
 DEJAGNU_SUPPORT_DIRS=  tcl expect libiberty
 .PHONY: dejagnu.tar.bz2
 dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
-	$(MAKE) -f $(SELF) taz TOOL=dejagnu \
+	$(MAKE) -f $(SELF) gdb-taz TOOL=dejagnu \
+		MD5PROG="$(MD5PROG)" \
+		SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)"
+.PHONY: dejagnu.tar
+dejagnu.tar: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
+	$(MAKE) -f $(SELF) gdb-tar TOOL=dejagnu \
 		MD5PROG="$(MD5PROG)" \
 		SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)"
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]