[Pkg-mono-svn-commits] [SCM] mono-tools branch, master, updated. debian/2.6.2-3-23-gb93cda5

Jo Shields directhex at apebox.org
Mon Apr 25 19:00:46 UTC 2011


The following commit has been merged in the master branch:
commit 57ae6d9b2804038d2b385013bda6a158218aa0d5
Author: Jo Shields <directhex at apebox.org>
Date:   Mon Apr 25 18:49:36 2011 +0100

    Strip needless rules file contents, leaving only overrides where needed

diff --git a/debian/rules b/debian/rules
index d81a7aa..e488756 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,30 +12,7 @@ DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^
 VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
 
 
-build: 
-	dh_testdir
-	$(MAKE)
-
-clean: 
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) distclean
-	find . -name "Makefile.in" | xargs rm -rf
-	rm -rf $$MONO_SHARED_DIR/.wapi autom4te.cache/
-	dh_clean configure config.sub config.guess aclocal.m4
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_movefiles
-	dh_link
+override_dh_install:
 	dh_install
 	cp $(CURDIR)/debian/monodoc-http-script $(CURDIR)/debian/monodoc-http/usr/bin/monodoc-http
 	# fix upstream file permissions
@@ -43,28 +20,6 @@ binary-indep: build install
 	find debian/monodoc-http/usr/*/monodoc/web -type d -exec chmod 755 {} \;
 	rm debian/monodoc-http/usr/lib/monodoc/web/xtree/xmlextras.js
 	ln -s /usr/share/javascript/xmlextras/xmlextras.js debian/monodoc-http/usr/lib/monodoc/web/xtree/xmlextras.js
-	# remove directories moved to /usr/share/
-	#find debian/monodoc-http/usr/lib/monodoc/web -type d -name "images" -o -name "xtree" | xargs rm -rf
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installmenu
-	dh_desktop
-	dh_installman
-	dh_strip
-	dh_clistrip
-	dh_compress
-	dh_fixperms
-	dh_clifixperms
-	dh_installdeb
-	dh_installxsp -V 2
-	dh_clideps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch:
-
-binary: binary-indep
 
 get-orig-source:
 	uscan \
@@ -77,6 +32,6 @@ get-orig-source:
 		--rename
 
 %:
-	dh --with quilt,autoreconf $@
+	dh --with quilt,autoreconf,xsp $@
 
 .PHONY: build clean clean-patched binary-indep binary install

-- 
mono-tools



More information about the Pkg-mono-svn-commits mailing list