diff --git a/Makefile b/Makefile index 7ea1648d2..377516aea 100644 --- a/Makefile +++ b/Makefile @@ -483,11 +483,15 @@ debian/changelog: debian/changelog.in sed 's/%{scst_version}/$(VERSION)-$(DEBIAN_REVISION)/' \ debian/changelog +../scst_$(VERSION).orig.tar.gz: debian/changelog Makefile + $(call make-scst-dist,z,gz,$(VERSION),cat) && \ + mv "scst-$(VERSION).tar.gz" "$@" + ../scst_$(VERSION).orig.tar.xz: debian/changelog Makefile $(call make-scst-dist,J,xz,$(VERSION),cat) && \ mv "scst-$(VERSION).tar.xz" "$@" -dpkg: ../scst_$(VERSION).orig.tar.xz +dpkg: ../scst_$(VERSION).orig.tar.gz @if [ -z "$$DEBEMAIL" ]; then \ echo "Error: \$$DEBEMAIL has not been set"; \ false; \ @@ -524,7 +528,7 @@ dpkg: ../scst_$(VERSION).orig.tar.xz debuild "$${buildopts[@]}" --lintian-opts --profile debian; \ fi && \ mkdir -p dpkg && \ - for f in "$${output_files[@]}" ../scst_$(VERSION).orig.tar.xz; do\ + for f in "$${output_files[@]}" ../scst_$(VERSION).orig.tar.[gx]z; do\ mv $$f dpkg || true; \ done && \ echo "Output files:" && \