[Debian-olpc-devel] Redundant Copying File
luke at faraone.cc
Fri Jul 23 14:05:15 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Please ask such questions on the mailing list, so that everyone can
learn from your questions.
On 07/23/2010 08:13 AM, Ankur Khurana wrote:
> you have mentioned about redundant Copying files being generated when
> building package and asked them to remove while in clean rule.Can you
> Elaborate on this , i was somewhat confused on this topic .
> you mentioned it here :
> I went through the link
> <http://build-common.alioth.debian.org/cdbs-doc.html#id2542963> you
> provided but i was still confused .
This is an issue reported by lintian, and you can find the description
of the warning online.
Basically, COPYING is the canonical file name of a license file. It
usually contains the GPL or something similar. Since we already include
either the full license text (or abbreviated with a pointer to the full
in common-licenses) in debian/copyright (which is installed into
/usr/share/doc/<package>/copyright), it's redundant for the package to
have additional copies.
So, to get rid of the warning, you should remove the file in the
"install::" rule in your debian/rules. See for example line 73 and 74 of
You can verify that this is no longer occurring by running "lintian
- -iIv" on the .deb produced as a result of doing a binary build of the
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Debian-olpc-devel