From: Stephane Glondu Date: Fri, 19 Jun 2015 16:01:57 +0000 (+0200) Subject: More flexible upstream tarball X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~143 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=37da7ac9c02e9458b57e1575d31ee01e84ee203a;p=ocaml.git More flexible upstream tarball --- diff --git a/debian/rules b/debian/rules index 4b360548..e565f508 100755 --- a/debian/rules +++ b/debian/rules @@ -32,7 +32,7 @@ MD5SUMSDIR = /var/lib/ocaml/md5sums INSTDIR = $(CURDIR)/debian/tmp/usr DISTDIR = $(PACKAGE)-$(OCAML_ABI) UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '/^Version:/{print $$2}' | { read u; echo $${u%-*}; }) -UPSTREAM_TARBALL = ../$(PACKAGE)_$(UPSTREAM_VERSION).orig.tar.gz +UPSTREAM_TARBALL = $(wildcard ../$(PACKAGE)_$(UPSTREAM_VERSION).orig.tar.*) SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar TESTDIR := debian/test-build