[Pkg-mono-svn-commits] rev 353 - xsp-snapshot/trunk/debian/official
Pablo Fischer
pabl0-guest@quantz.debian.org
Thu, 26 Feb 2004 01:03:25 +0100
Author: pabl0-guest
Date: 2004-02-26 01:03:24 +0100 (Thu, 26 Feb 2004)
New Revision: 353
Modified:
xsp-snapshot/trunk/debian/official/rules
Log:
* Removed the old sh files
* Now, we are going to use the cli-wrapper to find the .exes
* We don't need the virtual.conf files, cause they will be created once a
host application is installed (like asp.net-examples or monodoc-http).
Modified: xsp-snapshot/trunk/debian/official/rules
===================================================================
--- xsp-snapshot/trunk/debian/official/rules 2004-02-25 23:30:59 UTC (rev 352)
+++ xsp-snapshot/trunk/debian/official/rules 2004-02-26 00:03:24 UTC (rev 353)
@@ -53,12 +53,14 @@
dh_installdirs
cd server && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
- /bin/echo -e "#!/bin/sh\nexec /usr/bin/cli /usr/bin/xsp.exe" ' "$$@"' > $(CURDIR)/debian/mono-xsp/usr/bin/xsp
- chmod +x $(CURDIR)/debian/mono-xsp/usr/bin/xsp
+ # We should follow the MonoConventions
+ # First, for mono-xsp
+ for x in debian/mono-xsp/usr/bin/*.exe ; do ln -sf cli-wrapper $${x%.exe} ; done
+ mv debian/mono-xsp/usr/bin/*.exe debian/mono-xsp/usr/share/dotnet/bin
+ # Now, for mono-server
+ for x in debian/mono-server/usr/bin/*.exe ; do ln -sf cli-wrapper $${x%.exe} ; done
+ mv debian/mono-server/usr/bin/*.exe debian/mono-server/usr/share/dotnet/bin
- /bin/echo -e "#!/bin/sh\nexec /usr/bin/mono /usr/bin/mod-mono-server.exe" ' "$$@"' > $(CURDIR)/debian/mono-server/usr/bin/mod-mono-server
- chmod +x $(CURDIR)/debian/mono-server/usr/bin/mod-mono-server
-
binary-arch: build install
# We have nothing to do by default.
@@ -75,8 +77,6 @@
cd test && cp *.dll $(CURDIR)/debian/asp.net-examples/usr/share/asp.net-demos/dll
rm -Rf $(CURDIR)/debian/asp.net-examples/usr/share/asp.net-demos/asp/monodoc.ashx
chmod -x $(CURDIR)/debian/asp.net-examples/usr/share/asp.net-demos/*/*
- install -m644 $(CURDIR)/debian/virtual-modmono.conf $(CURDIR)/debian/mono-server/etc/mono-server/virtual.conf
- install -m644 $(CURDIR)/debian/virtual-xsp.conf $(CURDIR)/debian/mono-xsp/etc/xsp/virtual.conf
# install -m755 debian/asp.net-examples-server-snapshot $(CURDIR)/debian/asp.net-examples-snapshot/usr/bin
#cd test && cp *.dll $(CURDIR)/debian/asp.net-examples/usr/lib
# dh_install