[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git2
From: |
Pino Toscano |
Subject: |
[SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git20120630-1-4-g69dad2a |
Date: |
Wed, 27 Feb 2013 11:58:49 +0000 |
The following commit has been merged in the master branch:
commit 1514a6098406ade3dbf9826f837a33782b4c8fd4
Author: Pino Toscano <address@hidden>
Date: Wed Feb 27 12:54:54 2013 +0100
rules: rewrite using `dh'
diff --git a/debian/changelog b/debian/changelog
index c67fc7a..042eaa4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ mig (1.3.1.99.git20120630-2) UNRELEASED; urgency=low
* Bump the debhelper compatibility to 9:
- Bump compat to 9.
- Bump the debhelper build dependency to >= 9.
+ * Rewrite rules making use of the sequential `dh'.
-- GNU Hurd Maintainers <address@hidden> Wed, 27 Feb 2013 12:45:39 +0100
diff --git a/debian/rules b/debian/rules
index 3533856..e960ebc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,78 +2,15 @@
#
# Based on the work by Marcus Brinkmann <address@hidden>
# Rewritten by Guillem Jover <address@hidden>
+# Rewritten to use `dh' by Pino Toscano <address@hidden>
#
-pkg := mig
+export DEB_CFLAGS_MAINT_PREPEND := -Wall -pipe
-DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+%:
+ dh $@ -Bbuild
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS := -Wall -pipe $(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-
-configure: stamp-configure
-stamp-configure:
- dh_testdir
-
- -mkdir build
- cd build && ../configure \
- --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
- --prefix=/usr \
+override_dh_auto_configure:
+ dh_auto_configure -Bbuild -- \
--libexecdir=/usr/lib/mig/
-
- touch stamp-configure
-
-build-indep:
-
-build-arch: configure
- dh_testdir
-
- $(MAKE) -C build \
- CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
-
-build: build-indep build-arch
-
-install-arch: build-arch
- dh_testdir
- dh_testroot
- dh_prep
-
- dh_installdirs
-
- $(MAKE) -C build DESTDIR=$(CURDIR)/debian/$(pkg) install
-
-clean:
- dh_testdir
-
- rm -f stamp-configure
- rm -rf build
-
- dh_clean
-
-binary-indep:
- # Nothing to do.
-
-binary-arch: install-arch
- dh_testdir
- dh_testroot
-
- dh_installdocs
- dh_installman
- dh_installchangelogs ChangeLog
-
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: configure build-indep build-arch build install-arch
-.PHONY: binary-indep binary-arch binary clean
--
Debian MIG packaging
- [SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git20120630-1-4-g69dad2a, Pino Toscano, 2013/02/27
- [SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git20120630-1-4-g69dad2a, Pino Toscano, 2013/02/27
- [SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git20120630-1-4-g69dad2a, Pino Toscano, 2013/02/27
- [SCM] Debian MIG packaging branch, master, updated. debian/1.3.1.99.git20120630-1-4-g69dad2a,
Pino Toscano <=