[Gtk-sharp-list] patch for gtk-sharp/sources/makefile

Martin Willemoes Hansen mwh@sysrq.dk
26 Jun 2003 17:27:11 +0200


--=-dnwzpXW/Ahuf/oB1ZYn4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi!

The get-source-code was not working for my system :(
Ive made this patch which fixes the problem for me.

Can I commit?
-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh@sysrq.dk		Website	mwh.sysrq.dk
IRC     MWH, freenode.net
--------------------------------------------------------              

--=-dnwzpXW/Ahuf/oB1ZYn4
Content-Disposition: attachment; filename=makefile.diff
Content-Type: text/x-makefile; name=makefile.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

--- makefile~	2003-06-24 15:35:05.000000000 +0200
+++ makefile	2003-06-24 15:35:05.000000000 +0200
@@ -17,8 +17,10 @@
 	PERLLIB=../parser PATH=../parser:$$PATH ../parser/gapi.pl gtk-sharp.sources ../api
 
 get-source-code:
-	for i in $(DOWNLOADS); do                          \
-		wget $$i --output-document=- | tar -xz ;   \
+	for i in $(DOWNLOADS); do       \
+		wget $$i;   		\
+		tar xvzf $${i##*/};	\
+		rm -f $${i##*/};	\
 	done;
 	export CVS_PASSWORD=""
 	cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gtkhtml/src/gtkhtml.c

--=-dnwzpXW/Ahuf/oB1ZYn4--