[SCM] rubberband/master: Switch to short dh

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Sep 24 16:15:20 UTC 2012


The following commit has been merged in the master branch:
commit 74e94b43ada1c544ddd79b9b1d0f8da73fc08b74
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Sep 24 18:11:15 2012 +0200

    Switch to short dh

diff --git a/debian/rules b/debian/rules
index 4c5ec44..54369d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,85 +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
+LDFLAGS += -Wl,-O1 -Wl,--as-needed
 
-
-# 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)
-
-config.status: configure
-	dh_testdir
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --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
-
-	$(MAKE)
-
-	docbook-to-man debian/rubberband.sgml > debian/rubberband.1
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess config.status config.log Makefile
-
-	rm -f debian/rubberband.1
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-#	ln -s librubberband.so.$(version) debian/tmp/usr/lib/librubberband.so
-
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdirs -A
-	dh_installchangelogs -plibrubberband2
-	dh_installdocs -plibrubberband2
-	dh_install -A --sourcedir=debian/tmp
-	dh_installman -A
-	dh_link -A
-	dh_strip -A
-	dh_compress -A
-	dh_fixperms -A
-	dh_makeshlibs -plibrubberband2
-	dh_installdeb -A
-	dh_shlibdeps -A
-	dh_gencontrol -A
-	dh_md5sums -A
-	dh_builddeb -A
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+%:
+	dh $@

-- 
rubberband packaging



More information about the pkg-multimedia-commits mailing list