Merge branch 'stable'
[gnulib.git] / debian / clscan / README
1 Updating debian/copyright after importing a new upstream
2 --------------------------------------------------------
3
4 From the root of the gnulib source tree:
5
6 1. Run debian/clscan/clscan --scan
7
8 2. Edit debian/clscan/new.txt and review/correct licensing and
9    copyright info.
10
11 3. Run debian/clscan/clscan --merge
12
13 4. Check debian/copyright is ok.
14
15
16 new.txt format
17 --------------
18
19 Lines beginning with '#' are ignored.
20
21 Lines beginning 'File:' and 'Hash:' should be left undisturbed.
22 'Hash:' is used to record the (SHA-256) checksum of the first 15 lines
23 of the file, to detect changed copyright/license headers.
24
25 Lines beginning 'License:' and 'Copyright:' should be corrected where
26 appropriate to contain the correct info. Indented lines following the
27 'License:' line should contain the license boilerplate.
28
29 overrides in modules/
30 ---------------------
31
32 Files in modules/ contain the true license of some files. These
33 overrides are applied during 'clscan --merge'. See modules/README
34 and modules/COPYING for more info.
35
36 clscan dependencies
37 -------------------
38
39 clscan depends on the perl modules Getopt::Long, Digest::SHA,
40 File::Find, File::Copy, and YAML::Any (which loads any YAML module
41 found on the system).
42
43
44  -- Ian Beckwith <ianb@debian.org>  Wed, 16 Sep 2009 03:01:32 +0100