legal-info: fail trying to copy a non-existent license file
commit376c3aad61dbeb8e2126e13658fd150b70746afb
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 14 May 2013 02:46:03 +0000 (14 02:46 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 14 May 2013 15:17:09 +0000 (14 17:17 +0200)
tree204085ba6ac37588ea88fd1e1dac4ab9f618bdf8
parent8d34e073c00236ff41a6df8f0fdd6b0b25dc4ad1
legal-info: fail trying to copy a non-existent license file

If a package's _LICENSE_FILES contains the name of a non-existent file,
the make process would continue and return true, unless the
non-existent file is the last listed.

Fix this wrong beaviour by failing with an error when any of the listed
files is missing.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-generic.mk