diff --git a/unibuild-package/unibuild-package/unibuild-deb.make b/unibuild-package/unibuild-package/unibuild-deb.make index 9a231ed..f32b483 100644 --- a/unibuild-package/unibuild-package/unibuild-deb.make +++ b/unibuild-package/unibuild-package/unibuild-deb.make @@ -125,10 +125,10 @@ ifneq ($(SOURCE_TARBALL),) -# Copy the original tarball without modification cp $(SOURCE_TARBALL) $(PRODUCTS_DIR)/$(ORIG_TARBALL) else - -# Build from the unpacked sources since there wasn't one + -# Build from the unpacked sources since one did not exist (cd '$@' && tar cf - .) | (cd $(BUILD_ORIG_PACKAGE_DIR) && tar xpf -) -# Debian packaging guidelines dictate that the "orig" tarball - -# must not change if the software doesn't, so remove any + -# must not change if the software does not, so remove any -# packaging information before creating it. find '$(BUILD_ORIG_PACKAGE_DIR)' -name 'unibuild-packaging' -type d | xargs rm -rf (cd $(BUILD_ORIG_DIR) && tar cf - $(SOURCE_VERSION) | gzip -n ) > $(PRODUCTS_DIR)/$(ORIG_TARBALL)