mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
core/legal-info: use the helper to install source archives
.. and use $(Q) instead of a hard-coded @. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
88bad8f462
commit
a0ca22215c
@ -803,9 +803,10 @@ ifeq ($$($(2)_REDISTRIBUTE),YES)
|
|||||||
ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_SOURCE))
|
ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_SOURCE))
|
||||||
$$(call DOWNLOAD,$$($(2)_ACTUAL_SOURCE_SITE)/$$($(2)_ACTUAL_SOURCE_TARBALL))
|
$$(call DOWNLOAD,$$($(2)_ACTUAL_SOURCE_SITE)/$$($(2)_ACTUAL_SOURCE_TARBALL))
|
||||||
endif
|
endif
|
||||||
# Copy the source tarball (just hardlink if possible)
|
# Save the source tarball
|
||||||
@cp -l $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL) $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4))) 2>/dev/null || \
|
$$(Q)support/scripts/hardlink-or-copy \
|
||||||
cp $$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL) $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))
|
$$(DL_DIR)/$$($(2)_ACTUAL_SOURCE_TARBALL) \
|
||||||
|
$$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))
|
||||||
endif # redistribute
|
endif # redistribute
|
||||||
|
|
||||||
endif # other packages
|
endif # other packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user