[Pkg-ocaml-maint-commits] [mlgmp] 02/02: debian/rules: use dh overrides

Ralf Treinen treinen at moszumanska.debian.org
Wed Aug 12 12:13:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

treinen pushed a commit to branch master
in repository mlgmp.

commit 540bd66abcbe81ac18a0701fbb6ae5a1318b48ac
Author: Ralf Treinen <treinen at free.fr>
Date:   Wed Aug 12 14:05:58 2015 +0200

    debian/rules: use dh overrides
---
 debian/changelog | 10 +++++-----
 debian/rules     | 26 ++++----------------------
 2 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c00ec46..6a32e84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,19 +1,19 @@
-mlgmp (20021123-18) UNRELEASED; urgency=low
+mlgmp (20021123-18) unstable; urgency=low
 
   [ Sylvain Le Gall ]
   * Remove Sylvain Le Gall from uploaders
 
   [ Ralf Treinen ]
   * Remove Sven Luther from uploaders (closes: #677755)
-  * Standards-Vesion 3.9.6:
-    d/rules: add targets build-indep and build-arch
+  * Standards-Vesion 3.9.6 (no change)
   * Convert to source format 3.0 (quilt):
     - update source/format
     - drop build-dependency on dpatch
-    - convert patches in debian/patches
+    - convert patches in debian/patches from dpatch to quilt
     - drop explicit patching in debian/rules
+  * Simplify debian/rules: use dh overrides
 
- -- Ralf Treinen <treinen at debian.org>  Wed, 12 Aug 2015 13:12:53 +0200
+ -- Ralf Treinen <treinen at debian.org>  Wed, 12 Aug 2015 14:05:45 +0200
 
 mlgmp (20021123-17) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index b541e8e..781f166 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,32 +9,14 @@ HAS_OPT="HAS_OPT=1"
 else
 HAS_OPT=
 endif
+%:
+	dh $@ --with ocaml
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep:
-build-stamp: 
-	dh build --with ocaml
+override_dh_auto_build: 
 	$(MAKE) depend
 	$(MAKE) $(HAS_OPT)
-	touch build-stamp
-
-clean: 
-	$(MAKE) clean
-	dh clean --with ocaml
 
-install: build install-stamp
-install-stamp:
-	dh install --before auto_install --with ocaml
+override_dh_auto_install:
 	$(MAKE) $(HAS_OPT) install \
 	      DESTDIR=$(CURDIR)/debian/$(PACKAGE)-dev \
 	      STUBDIR=$(CURDIR)/debian/$(PACKAGE)/$(OCAML_DLL_DIR)
-	dh install --after auto_install --with ocaml
-	touch $@
-
-binary-arch binary-indep: install-stamp
-	dh $@ --with ocaml
-
-binary: binary-arch binary-indep
-
-.PHONY: build clean binary-indep binary-arch binary install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/mlgmp.git



More information about the Pkg-ocaml-maint-commits mailing list