[Pkg-voip-commits] [pjproject] 10/45: Add copyright-check script.

Jonas Smedegaard dr at jones.dk
Tue Jun 7 22:01:21 UTC 2016


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

js pushed a commit to branch master
in repository pjproject.

commit 6c3403ac4de86fcc874527d6164516abbccb1e25
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jun 7 12:01:12 2016 +0200

    Add copyright-check script.
---
 debian/copyright-check       | 11 +++++++++++
 debian/rules.copyright-check |  4 ++++
 2 files changed, 15 insertions(+)

diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..e0eef4f
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# fail if check fails
+export DEB_MAINTAINER_MODE=1
+
+# bootstrap if this is first ever copyright-check
+test -f debian/copyright_hints | touch debian/copyright_hints
+
+# these may both fail - we want its fallout for further analysis
+debian/rules.copyright-check pre-build || true
+debian/rules.copyright-check clean || true
diff --git a/debian/rules.copyright-check b/debian/rules.copyright-check
new file mode 100755
index 0000000..377cb4e
--- /dev/null
+++ b/debian/rules.copyright-check
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/utils.mk
+DEB_COPYRIGHT_EXTRACT_EXTS = gif icc jpeg jpg pfa pfb pdf png psd svg odp ods odt
+DEB_COPYRIGHT_CHECK_MERGE_SAME_LICENSE = yes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/pjproject.git



More information about the Pkg-voip-commits mailing list