[SCM] libdvdcss-pkg/master: robustify get-orig-source
onlyjob-guest at users.alioth.debian.org
onlyjob-guest at users.alioth.debian.org
Wed Jan 30 04:18:28 UTC 2013
The following commit has been merged in the master branch:
commit 09f8286da3e75023af65c15d060f161feb2022ac
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Wed Jan 30 14:51:50 2013 +1100
robustify get-orig-source
diff --git a/libdvdcss/debian/rules b/libdvdcss/debian/rules
index 9e644c7..b1308f7 100755
--- a/libdvdcss/debian/rules
+++ b/libdvdcss/debian/rules
@@ -19,5 +19,8 @@ override_dh_installchangelogs:
override_dh_builddeb:
dh_builddeb -- -Zxz
+PKD = $(abspath $(dir $(MAKEFILE_LIST)))
+PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
+.PHONY: get-orig-source
get-orig-source:
- uscan --noconf --verbose --rename --destdir=. --force-download --download-current-version
+ uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-current-version $(PKD)
--
libdvdcss-pkg packaging
More information about the pkg-multimedia-commits
mailing list