legal-info: depend on patch rather than extract
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 2 Jul 2014 12:39:59 +0000 (09:39 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Jul 2014 15:38:15 +0000 (17:38 +0200)
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>
package/pkg-generic.mk

index bc8a12e4d7562ab4e07abae8334171bac40bfbe5..2bd44660350045cd8035135bc5ca0e433498f716 100644 (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