[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tool to create debian/copyright files paragraphs?

On Mon, Jan 28, 2013 at 7:58 PM, Thomas Koch wrote:

> I have a package (closure-compiler[1]) with files copyrighted by six different
> parties unsystematically distributed over a large source tree.
> Has anybody already written a tool to automatically create the files section
> of the debian/copyright file? The tool should try to keep the files list short
> by using wildcards.

Install devscripts & cdbs then run this:

licensecheck --copyright -r `find -type f` |
/usr/lib/cdbs/licensecheck2dep5 > debian/copyright

licensecheck is obviously not as complete as something like fossology
so it will need massaging and there will be missing files if upstream
hasn't kept a good record.



Reply to: