[vdr-plugin-skinflatplus] 09/15: Use same debian/rules as in other plugin packages

Tobias Grimm tiber-guest at moszumanska.debian.org
Wed Feb 11 20:44:22 UTC 2015


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

tiber-guest pushed a commit to branch master
in repository vdr-plugin-skinflatplus.

commit 670845d06e6e4a92197c61d4227b72fe38ad9dd1
Author: etobi <git at e-tobi.net>
Date:   Wed Feb 11 19:56:56 2015 +0100

    Use same debian/rules as in other plugin packages
---
 debian/changelog |  1 +
 debian/rules     | 16 ++++++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5358beb..42f1988 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ vdr-plugin-skinflatplus (0.5.0-1) UNRELEASED; urgency=medium
   * Standards version 3.9.5
   * Build-depend on vdr-dev >= 2.1.9
   * Updated debian/copyright
+  * Use same debian/rules as in other plugin packages
 
  -- Tobias Grimm <etobi at debian.org>  Wed, 11 Feb 2015 19:27:20 +0100
 
diff --git a/debian/rules b/debian/rules
index 6fa72e0..d461cd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,17 +2,21 @@
 
 #DH_VERBOSE=1
 
-.PHONY: override_dh_strip override_dh_auto_install
+PLG_PACKAGE = $(filter-out %-dbg, $(shell dh_listpackages))
+DBG_PACKAGE = $(filter %-dbg, $(shell dh_listpackages))
 
-override_dh_strip:
-	dh_strip --dbg-package=vdr-plugin-skinflatplus-dbg
+%:
+	dh $@
 
 override_dh_auto_install:
-	dh_auto_install --destdir=debian/vdr-plugin-skinflatplus
+	dh_auto_install --destdir=debian/$(PLG_PACKAGE)
+
+override_dh_strip:
+	dh_strip --dbg-package=$(DBG_PACKAGE)
 
 override_dh_gencontrol:
 	sh /usr/share/vdr-dev/dependencies.sh
 	dh_gencontrol
 
-%:
-	dh $@
+get-vcs-snapshot:
+	sh debian/get-vcs-snapshot.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-skinflatplus.git



More information about the pkg-vdr-dvb-changes mailing list