[SCM] libdvdcss-pkg/master: minor rules' optimisation

onlyjob-guest at users.alioth.debian.org onlyjob-guest at users.alioth.debian.org
Wed Jan 30 04:18:27 UTC 2013


The following commit has been merged in the master branch:
commit a67c569ea0c34d66ec9fc490c0c3bc98b193462c
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Wed Jan 30 13:55:07 2013 +1100

    minor rules' optimisation

diff --git a/debian/rules b/debian/rules
index 8583afd..0ae4aaf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PKGG := libdvdcss
+PKG=libdvdcss-pkg
+PKGG=$(patsubst %-pkg,%,$(PKG))
 
 %: debian/po/templates.pot
 	dh $@
@@ -23,7 +24,6 @@ override_dh_installchangelogs:
 override_dh_builddeb:
 	dh_builddeb -- -Zxz
 
-PKG=libdvdcss-pkg
 VER = $(shell dpkg-parsechangelog | perl -ne 'print $$1 if m{Version:\s*([0-9.]+)}')
 get-orig-source: $(PKG)_$(VER).orig.tar.xz
 	@

-- 
libdvdcss-pkg packaging



More information about the pkg-multimedia-commits mailing list