[Pkg-cli-apps-commits] [SCM] monodevelop-boo branch, master-experimental, updated. debian/2.4-4
Jo Shields
directhex at apebox.org
Sat Dec 18 14:13:03 UTC 2010
The following commit has been merged in the master-experimental branch:
commit ff23dbfeac0ce3f2ecdb7c4e81648b36917c3af5
Author: Jo Shields <directhex at apebox.org>
Date: Sat Dec 18 14:08:10 2010 +0000
Make better use of DH7 capabilities, and especially the "--with quilt" parameter, to avoid messy manual usage of quilt.
diff --git a/debian/rules b/debian/rules
index 36b2438..e95f6e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,30 +19,15 @@ include /usr/share/quilt/quilt.make
override_dh_gencontrol:
dh_gencontrol -i -- -Vmisc:Version=$(MDVERSION)
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh build --before dh_auto_configure
+override_dh_auto_configure:
./configure --prefix=/usr
- dh build --after dh_auto_configure
- touch build-stamp
-install: build
- dh $@
-
-binary: binary-arch binary-indep
-
-binary-arch:
-
-binary-indep: build install
- dh $@
-
-clean: clean-patched unpatch
-clean-patched: $(QUILT_STAMPFN)
- dh clean --before dh_auto_clean
- [ -f config.make ] || ./configure --clean-only
- make clean
- rm -f config.make config.log
- dh clean --after dh_auto_clean
+override_dh_auto_clean:
+ dh_quilt_patch
+ ./configure --clean-only
+ dh_clean
+ rm -f config.log config.make
+ dh_quilt_unpatch
get-orig-source:
uscan \
@@ -56,6 +41,6 @@ get-orig-source:
--repack
%:
- dh $@
+ dh --with quilt $@
-.PHONY: build install binary binary-arch binary-indep clean clean-patched get-orig-source
+.PHONY: get-orig-source
--
monodevelop-boo
More information about the Pkg-cli-apps-commits
mailing list