mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Add RT_MANIFEST arguments to dependencies for Windows resource objects.
[originally from svn r5393]
This commit is contained in:
parent
d13338f581
commit
a519e8edfc
12
mkfiles.pl
12
mkfiles.pl
@ -152,9 +152,11 @@ foreach $i (@prognames) {
|
|||||||
# added back on to @scanlist to be scanned in turn (if not already
|
# added back on to @scanlist to be scanned in turn (if not already
|
||||||
# done).
|
# done).
|
||||||
#
|
#
|
||||||
# Resource scripts (.rc) can also include a file by means of a line
|
# Resource scripts (.rc) can also include a file by means of:
|
||||||
# ending `ICON "filename"'. Files included by this method are not
|
# - a line # ending `ICON "filename"';
|
||||||
# added to @scanlist because they can never include further files.
|
# - a line ending `RT_MANIFEST "filename"'.
|
||||||
|
# Files included by this method are not added to @scanlist because
|
||||||
|
# they can never include further files.
|
||||||
#
|
#
|
||||||
# In this pass we write out a hash %further which maps a source
|
# In this pass we write out a hash %further which maps a source
|
||||||
# file name into a listref containing further source file names.
|
# file name into a listref containing further source file names.
|
||||||
@ -174,8 +176,8 @@ while (scalar @scanlist > 0) {
|
|||||||
push @scanlist, $1;
|
push @scanlist, $1;
|
||||||
next;
|
next;
|
||||||
};
|
};
|
||||||
/ICON\s+\"([^\"]+)\"\s*$/ and do {
|
/(RT_MANIFEST|ICON)\s+\"([^\"]+)\"\s*$/ and do {
|
||||||
push @{$further{$file}}, $1;
|
push @{$further{$file}}, $2;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user