More flexible upstream tarball
authorStephane Glondu <steph@glondu.net>
Fri, 19 Jun 2015 16:01:57 +0000 (18:01 +0200)
committerStephane Glondu <steph@glondu.net>
Fri, 19 Jun 2015 16:01:57 +0000 (18:01 +0200)
debian/rules

index 4b36054807a40e5a11d3e3ce60e1670bc6d97fc4..e565f50837ea0ba9daad70ed38f403e688f039e4 100755 (executable)
@@ -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