[Pkg-mono-svn-commits] rev 662 - mcs/trunk/debian

Mirco Bauer meebey-guest@haydn.debian.org
Sun, 09 May 2004 10:23:08 -0600


Author: meebey-guest
Date: 2004-05-09 10:23:05 -0600 (Sun, 09 May 2004)
New Revision: 662

Modified:
   mcs/trunk/debian/rules
Log:
- replaced direct chmod calls to find -exec chmod
- moving now all GAC assemblies to /usr/share/dotnet/mono/gac
- added symlink /usr/lib/mono -> /usr/share/dotnet/mono



Modified: mcs/trunk/debian/rules
===================================================================
--- mcs/trunk/debian/rules	2004-05-09 15:56:48 UTC (rev 661)
+++ mcs/trunk/debian/rules	2004-05-09 16:23:05 UTC (rev 662)
@@ -32,8 +32,10 @@
 	dh_movefiles
 	dh_link
 	dh_install
-	chmod -x $(CURDIR)/debian/mono-assemblies-base/usr/lib/mscorlib.dll
-	chmod -x $(CURDIR)/debian/mono-assemblies-base/usr/lib/mono/*/*.dll
+	# all dh_* can't keep directory structures, have to use mv manually
+	mv $(CURDIR)/debian/mono-assemblies-base/usr/lib/mono/gac $(CURDIR)/debian/mono-assemblies-base/usr/share/dotnet/mono
+	ln -sf ../share/dotnet/mono $(CURDIR)/debian/mono-assemblies-base/usr/lib
+	find $(CURDIR)/debian/mono-assemblies-base/usr/share/dotnet/mono -type f -name "*.dll" -exec chmod -x {} \;
 
 # Build architecture-independent files here.
 binary-indep: build install