legal-info: depend on patch rather than extract

Switch legal-info generation dependency to patch rather than extract
so we can use debian/copyright from debian-maintained packages,
because the *orig* file alone doesn't contain the appropiate file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-07-02 09:39:59 -03:00 committed by Peter Korsgaard
parent ec13c09852
commit 0fbba2cef2

View File

@ -629,7 +629,7 @@ $(2)_MANIFEST_LICENSE_FILES ?= not saved
# for overriden, local or normal remote packages alike, whether
# we want to redistribute it or not.
ifneq ($$($(2)_LICENSE_FILES),)
$(1)-legal-info: $(1)-extract
$(1)-legal-info: $(1)-patch
endif
# We only save the sources of packages we want to redistribute, that are