Author: miguel
Date: 2007-04-25 17:46:30 -0400 (Wed, 25 Apr 2007)
New Revision: 76289
Modified:
trunk/mono-curses/Makefile
trunk/mono-curses/monotorrent.cs
Log:
Dist
Modified: trunk/mono-curses/Makefile
===================================================================
--- trunk/mono-curses/Makefile 2007-04-25 21:29:54 UTC (rev 76288)
+++ trunk/mono-curses/Makefile 2007-04-25 21:46:30 UTC (rev 76289)
@@ -7,6 +7,15 @@
gui.cs \
constants.cs
+EXTRA_DIST = \
+ configure \
+ Makefile \
+ monotorrent.in \
+ binding.cs.in \
+ attrib.c \
+ mono-curses.c \
+ monotorrent.cs
+
TORRENTDIR=/cvs/bitsharp/src
TORRENTLIBS=`pkg-config --libs monotorrent`
@@ -26,7 +35,7 @@
cp `pkg-config --variable=Libraries monotorrent` .
run: monotorrent.exe
- DYLD_LIBRARY_PATH=. MONO_PATH=$(TORRENTDIR)/bin:$(TORRENTDIR)/Libs mono
--debug demo.exe || stty sane
+ DYLD_LIBRARY_PATH=. MONO_PATH=$(TORRENTDIR)/bin:$(TORRENTDIR)/Libs mono
--debug monotorrent.exe || stty sane
mono-curses.dll: $(SOURCES)
gmcs -debug -target:library -out:mono-curses.dll -debug $(SOURCES)
@@ -65,3 +74,18 @@
exit 1
include config.make
+
+dist:
+ rm -rf monotorrent-curses-$(VERSION)
+ mkdir monotorrent-curses-$(VERSION)
+ cp $(SOURCES) $(EXTRA_DIST) monotorrent-curses-$(VERSION)
+ tar czvf monotorrent-curses-$(VERSION).tar.gz
monotorrent-curses-$(VERSION)
+ rm -rf monotorrent-curses-$(VERSION)
+
+distcheck: dist
+ rm -rf test
+ (mkdir test; cd test; tar xzvf ../monotorrent-curses-$(VERSION).tar.gz;
cd monotorrent-curses-$(VERSION); \
+ ./configure --prefix=$$(cd `pwd`/..; pwd); \
+ make && make install && make dist);
+ rm -rf test
+ echo monotorrent-curses-$(VERSION).tar.gz is ready for release
Modified: trunk/mono-curses/monotorrent.cs
===================================================================
--- trunk/mono-curses/monotorrent.cs 2007-04-25 21:29:54 UTC (rev 76288)
+++ trunk/mono-curses/monotorrent.cs 2007-04-25 21:46:30 UTC (rev 76289)
@@ -183,7 +183,6 @@
Button bd = new Button ("Delete");
bd.Clicked += delegate {
- throw new Exception ();
Application.Error ("Not Implemented",
"I have not implemented
delete yet");
d.Running = false;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches