SYNOPSIS
# in source package directory
scan-copyrights > debian/copyright.new
meld debian/copyright{,.new}
DESCRIPTION
This commands use "licensecheck" command to scan license and copyright information from source files. The output of licensecheck is parsed to generate the Files information of "debian/copyright" files according to Debian specifications <https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/>BUGS
Extracting license and copyright data from unstructured comments is not reliable. User must check manually the files when no copyright info is found or when the license is unknown.The required changes can be stored in "debian/fill.copyright.blanks.yml" so that future runs of scan-copyrights will be more accurate. Please see ``Filling the blanks'' in Dpkg::Copyright::Scanner for instructions to write this file.
Examples
In pan source directory:
$ scan-copyright no info for ./uulib/fptools.h, check manually this file no info for ./uulib/fptools.c, check manually this file no info for ./uulib/uustring.h, check manually this file no info for ./uulib/crc32.h, check manually this file no info for ./pan/data/defgroup.h, check manually this file no info for ./pan/general/time-elapsed.h, check manually this file [ snip ] Files: * Copyright: 1994-2001, by Frank Pilhofer. License: GPL-2+ Files: pan/* Copyright: 2002-2006, Charles Kerr <[email protected]> License: GPL-2 Files: pan/data/cert-store.cc Copyright: 2011, Heinrich Muller <[email protected]> 2002-2006, Charles Kerr <[email protected]> License: GPL-2 Files: pan/data/cert-store.h Copyright: 2002-2006, Charles Kerr <[email protected]> 2011, Heinrich Muller <[email protected]> License: GPL-2 [ snip ]