mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Stop copying the licence text into C source code.
Now all the uses of the licence text or the short copyright notice get it from a new header "licence.h", which in turn is built by a Perl script licence.pl invoked by mkfiles.pl, using LICENCE itself as the source. Hence, I can completely remove a whole section from the list of licence locations in CHECKLST.txt :-)
This commit is contained in:
@ -45,9 +45,10 @@ open IN, "Recipe" or do {
|
||||
};
|
||||
|
||||
# HACK: One of the source files in `charset' is auto-generated by
|
||||
# sbcsgen.pl. We need to generate that _now_, before attempting
|
||||
# dependency analysis.
|
||||
# sbcsgen.pl, and licence.h is likewise generated by licence.pl. We
|
||||
# need to generate those _now_, before attempting dependency analysis.
|
||||
eval 'chdir "charset"; require "sbcsgen.pl"; chdir ".."; select STDOUT;';
|
||||
eval 'require "licence.pl"; select STDOUT;';
|
||||
|
||||
@srcdirs = ("./");
|
||||
|
||||
|
Reference in New Issue
Block a user