[Pkg-mono-svn-commits] rev 344 - mono-nethostmanager/trunk/debian

Pablo Fischer pabl0-guest@quantz.debian.org
Tue, 24 Feb 2004 20:19:44 +0100


Author: pabl0-guest
Date: 2004-02-24 20:19:43 +0100 (Tue, 24 Feb 2004)
New Revision: 344

Modified:
   mono-nethostmanager/trunk/debian/rules
Log:
* Fixed the cli-wrapper issue. First it was moving the files and then linking them to the cli-wrapper, and shouldn't be. 
First it should link the files to the wrapper and then move it to the dotnet/bin directory.


Modified: mono-nethostmanager/trunk/debian/rules
===================================================================
--- mono-nethostmanager/trunk/debian/rules	2004-02-24 19:08:38 UTC (rev 343)
+++ mono-nethostmanager/trunk/debian/rules	2004-02-24 19:19:43 UTC (rev 344)
@@ -20,13 +20,13 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+	mkdir -p debian/mono-nethostmanager/usr/share/dotnet/bin
 	# Now we should install it..
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/mono-nethostmanager
 	# We should follow the MonoConventions
-	# First, copy the .exe file to the dotnet/bin directory
-	mv debian/mono-nethostmanager/usr/bin/*.exe debian/mono-nethostmanager/usr/share/dotnet/bin
-	# Link them to the cli-wrapper
+	# First, link the .exe files and then move them to the dotnet/bin directory
 	for x in debian/mono-nethostmanager/usr/bin/*.exe ; do ln -sf cli-wrapper $${x%.exe} ; done
+        mv debian/mono-nethostmanager/usr/bin/*.exe debian/mono-nethostmanager/usr/share/dotnet/bin	
 
 binary-indep: build install
 	dh_testdir -i