|
@@ -1145,6 +1145,7 @@ else
|
|
|
$(Q)$$(foreach F,$$($(2)_LICENSE_FILES),$$(call legal-license-file,$$($(2)_RAWNAME),$$($(2)_BASENAME_RAW),$$($(2)_HASH_FILE),$$(F),$$($(2)_DIR)/$$(F),$$(call UPPERCASE,$(4)))$$(sep))
|
|
|
endif # license files
|
|
|
|
|
|
+ifeq ($$($(2)_REDISTRIBUTE),YES)
|
|
|
ifeq ($$($(2)_SITE_METHOD),local)
|
|
|
# Packages without a tarball: don't save and warn
|
|
|
@$$(call legal-warning-nosource,$$($(2)_RAWNAME),local)
|
|
@@ -1155,7 +1156,6 @@ else ifneq ($$($(2)_OVERRIDE_SRCDIR),)
|
|
|
else
|
|
|
# Other packages
|
|
|
|
|
|
-ifeq ($$($(2)_REDISTRIBUTE),YES)
|
|
|
# Save the source tarball and any extra downloads, but not
|
|
|
# patches, as they are handled specially afterwards.
|
|
|
$$(foreach e,$$($(2)_ACTUAL_SOURCE_TARBALL) $$(notdir $$($(2)_EXTRA_DOWNLOADS)),\
|
|
@@ -1169,9 +1169,9 @@ ifeq ($$($(2)_REDISTRIBUTE),YES)
|
|
|
$$($(2)_REDIST_SOURCES_DIR) || exit 1; \
|
|
|
printf "%s\n" "$$$${f##*/}" >>$$($(2)_REDIST_SOURCES_DIR)/series || exit 1; \
|
|
|
done <$$($(2)_DIR)/.applied_patches_list
|
|
|
-endif # redistribute
|
|
|
-
|
|
|
endif # other packages
|
|
|
+
|
|
|
+endif # redistribute
|
|
|
@$$(call legal-manifest,$$(call UPPERCASE,$(4)),$$($(2)_RAWNAME),$$($(2)_VERSION),$$(subst $$(space)$$(comma),$$(comma),$$($(2)_LICENSE)),$$($(2)_MANIFEST_LICENSE_FILES),$$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_ACTUAL_SOURCE_SITE),$$(call legal-deps,$(1)))
|
|
|
endif # ifneq ($$(call qstrip,$$($(2)_SOURCE)),)
|
|
|
$$(foreach hook,$$($(2)_POST_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep))
|