[Pkg-ofed-commits] [qperf] 03/03: Use dh.
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Mon Aug 29 12:55:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository qperf.
commit 59b69c6bac299e3952d0a94ad3a853761d36d49b
Author: Ana Guerrero López <ana at ekaia.org>
Date: Mon Aug 29 14:49:11 2016 +0200
Use dh.
---
debian/changelog | 1 +
debian/rules | 84 ++------------------------------------------------------
2 files changed, 3 insertions(+), 82 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c3e3b64..e82a613 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qperf (0.4.9-1) unstable; urgency=medium
* New upstream release.
* Bump to debhelper compatibility to 9.
+ * Use dh.
-- Ana Beatriz Guerrero Lopez <ana at debian.org> Mon, 29 Aug 2016 14:28:30 +0200
diff --git a/debian/rules b/debian/rules
index 8d1d9cb..92a31be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,86 +1,6 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+ dh $@
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-
-
-config.status: autogen.sh
- dh_testdir
- ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/qperf.sgml > qperf.1
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- # Add here commands to install the package into debian/qperf.
- $(MAKE) DESTDIR=$(CURDIR)/debian/qperf install
-
-
-# Build architecture-independent files here.
-binary-indep: install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: install
- dh_testdir
- dh_testroot
- # upstream changelog is empty
- dh_installchangelogs --exclude=ChangeLog
- dh_installdocs
- dh_installexamples
-# dh_install
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/not-in-debian/qperf.git
More information about the Pkg-ofed-commits
mailing list