[SCM] libsamplerate/master: licensecheck support

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Aug 17 10:58:05 UTC 2017


The following commit has been merged in the master branch:
commit e93c3c514a9a7560b6524e1716c74903b9db8163
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Aug 17 12:50:24 2017 +0200

    licensecheck support

diff --git a/debian/rules b/debian/rules
index 186ca37..17b1d45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,12 @@ DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@ --with autotools-dev
 
+licensecheck:
+	licensecheck --copyright -r . \
+	| perl -00ne 'print unless /^\.\/doc\/SRC\.png:/' \
+	> debian/copyright_newhints
+	cmp debian/copyright_hints debian/copyright_newhints \
+	&& rm debian/copyright_newhints
 
 ########## legacy ###########
 # # These are used for cross-compiling and for saving the configure script

-- 
libsamplerate packaging



More information about the pkg-multimedia-commits mailing list