Author: alanmc
Date: 2007-03-22 20:29:18 -0500 (Thu, 22 Mar 2007)
New Revision: 74863
Modified:
trunk/bitsharp/src/Makefile
trunk/bitsharp/src/MonoTorrent/Makefile
Log:
Fix to make sure monotorrent is compiled as an exe
Modified: trunk/bitsharp/src/Makefile
===================================================================
--- trunk/bitsharp/src/Makefile 2007-03-23 00:41:57 UTC (rev 74862)
+++ trunk/bitsharp/src/Makefile 2007-03-23 01:29:18 UTC (rev 74863)
@@ -24,7 +24,7 @@
install-setup:
-mkdir $(prefix)/lib/bitsharp
-mkdir $(prefix)/bin
- sed -e "s,@prefix@,$(prefix)," -e 's/@cmd@/MonoTorrent.exe/' <
script.in > monotorrent
+ sed -e "s,@prefix@,$(prefix)," -e 's/@cmd@/MonoTorrent.exe/' <
script.in > monotorrent.x
sed -e "s,@prefix@,$(prefix)," -e 's/@cmd@/MonoTorrent.Interface.exe/'
< script.in > monotorrent-gtk
- chmod +x monotorrent-gtk monotorrent
- cp monotorrent monotorrent-gtk $(prefix)/bin
\ No newline at end of file
+ chmod +x monotorrent-gtk monotorrent.x
+ cp monotorrent.x monotorrent-gtk $(prefix)/bin
\ No newline at end of file
Modified: trunk/bitsharp/src/MonoTorrent/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Makefile 2007-03-23 00:41:57 UTC (rev
74862)
+++ trunk/bitsharp/src/MonoTorrent/Makefile 2007-03-23 01:29:18 UTC (rev
74863)
@@ -1,4 +1,6 @@
+TARGET=-target:exe
OUT=../bin/MonoTorrent.exe
+
REFERENCES=\
-r:../bin/MonoTorrent.Common.dll \
-r:../bin/MonoTorrent.Client.dll \
@@ -10,4 +12,5 @@
all: $(OUT)
-include ../rules.make
\ No newline at end of file
+include ../rules.make
+TARGET=-target:exe
\ No newline at end of file
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches