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

Re: Script to generate common license texts

On Fri, Sep 04, 2015 at 11:08:20PM +0530, Balasankar C wrote:
> Is there any script which takes abbreviation of a license (like
> GPL-3+) as input and generates the license text that can be used in
> debian/copyright (80 character wrapped, one space before each line,
> paragraph separated with periods - the whole deal.
Steal them or use them from dh-make.
$ ls /usr/share/debhelper/dh_make/licenses/
apache  artistic  blank  bsd  gpl2  gpl3  lgpl2  lgpl3  mit

If you just lift them a few :%s/%blah%/this/g in vi or equivalent
and you're done.

 - Craig
Craig Small (@smallsees)   http://enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux           http://www.debian.org/   csmall at : debian.org
GPG fingerprint:        5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Reply to: