core/legal-info: add package version to license directory
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 7 May 2016 16:14:30 +0000 (18:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Jun 2016 13:49:38 +0000 (15:49 +0200)
commit4ebd6ffbd691ec08021fee89dc55df5e377d8513
tree9f8f4706bfbfe7693705882b7cc1b2f412e9c472
parent9d5087b0d7cf37437964eaa47bfa95d8a76a7cf0
core/legal-info: add package version to license directory

Now that we save the source archives in a directory named after the
package and its version, do the same for the license files, for
consistency.

It has a not-so-bad side-effect of also saving the version string in
the all-licenses list.

The only (small) side-effect, is that the warnings about undefined
_LICENSE_FILES now contains the version string, too. That's unavoidable,
since that's what is stored in the legal report.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-generic.mk