[bfl] 02/40: Switch to dh

Johannes Schauer josch at moszumanska.debian.org
Fri Aug 11 17:24:03 UTC 2017


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

josch pushed a commit to branch master
in repository bfl.

commit c91a1c31d87da2d2b31701761206eeae528c75df
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Fri Aug 11 23:19:39 2017 +0900

    Switch to dh
---
 debian/compat  |   2 +-
 debian/control |   2 +-
 debian/rules   | 100 ++-------------------------------------------------------
 3 files changed, 4 insertions(+), 100 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+10
diff --git a/debian/control b/debian/control
index 423b598..528bd3c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: orocos-bfl
 Priority: optional
 Maintainer: Tinne De Laet <tinne.delaet at mech.kuleuven.be>
-Build-Depends: debhelper (>= 5), cmake
+Build-Depends: debhelper (>= 10), cmake
 Standards-Version: 3.7.2
 
 Package: orocos-bfl
diff --git a/debian/rules b/debian/rules
index c816e2d..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,99 +1,3 @@
 #!/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
-
-
-# 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)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-build/Makefile: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	mkdir -p build
-	cd build ; cmake -D MATRIX_LIB=boost -D MATRIX_INSTALL=/usr -D RNG_LIB=boost -D RNG_INSTALL=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/ ..
-
-
-build: build-stamp
-build-stamp:  build/Makefile
-	dh_testdir
-
-	# Add here commands to compile the package.
-	cd build; $(MAKE) -j 6
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	-rm -rf build 
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	cd build; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-	dh_install --sourcedir=debian/tmp
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/bfl.git



More information about the debian-science-commits mailing list