[SCM] pd-zexy/master: Switched build-system to dh-11

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Jan 21 22:21:52 UTC 2018


The following commit has been merged in the master branch:
commit ba4b265666a7a5d1fba579541f6638c0fa0b550c
Author: IOhannes m zmölnig <zmoelnig at umlautS.umlaeute.mur.at>
Date:   Sun Jan 21 23:00:29 2018 +0100

    Switched build-system to dh-11

diff --git a/debian/compat b/debian/compat
index 7f8f011..b4de394 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+11
diff --git a/debian/rules b/debian/rules
index 19eae1d..7d9885b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,6 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2002 Guenter Geiger <geiger at debian.org>
-# Copyright © 2010-2011 IOhannes m zmölnig <zmoelnig at iem.at>
-# Copyright © 2010 Jonas Smedegaard <dr at jones.dk>
+# Copyright © 2018 IOhannes m zmölnig <zmoelnig at iem.at>
 # Description: Main Debian packaging script for zexy
 #
 # This program is free software; you can redistribute it and/or
@@ -18,23 +16,26 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/class/pd.mk
-include /usr/share/cdbs/1/rules/utils.mk
-
-DEB_MAKE_CHECK_TARGET = check
+BUILD_DATE:=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d at %H:%M:%S UTC")
 
-CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
-CDBS_BUILD_DEPENDS_rules_utils_buildinfo =
+%:
+	dh $@
 
-BUILD_DATE:=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d at %H:%M:%S UTC")
-DEB_CONFIGURE_EXTRA_FLAGS += --with-extension=pd_linux --with-build-date="on $(BUILD_DATE)"
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--with-extension=pd_linux \
+		--with-build-date="on $(BUILD_DATE)" \
+		$(empty)
 
-binary-predeb/pd-zexy::
-	# remove libtools leftovers
-	find "$(cdbs_curdestdir)" -name "*.la" -delete
+override_dh_auto_install:
+	dh_auto_install
 	# we rather link to the debian provided GPL-2
-	rm "$(cdbs_curdestdir)/usr/lib/pd/extra/zexy/LICENSE.txt"
+	rm -f -- "$(CURDIR)"/debian/*/usr/lib/pd/extra/*/LICENSE.txt
+	# remove libtools leftovers
+	find "$(CURDIR)"/debian/*/usr/ -name "*.la" -delete || true
 
+licensecheck:
+	licensecheck --deb-machine -r * \
+		> debian/copyright_newhints
+	cmp debian/copyright_hints debian/copyright_newhints \
+		&& rm debian/copyright_newhints

-- 
pd-zexy packaging



More information about the pkg-multimedia-commits mailing list