winemaker: Print the invocation command line to the Makefile.

oldstable
André Hentschel 2012-02-05 14:03:32 +01:00 committed by Alexandre Julliard
parent 204e53e449
commit c7c8d3ccfc
1 changed files with 10 additions and 4 deletions

View File

@ -318,7 +318,7 @@ sub target_init($)
## ##
# This is the path in which this project is located. In other # This is the path in which this project is located. In other
# words, this is the path to the Makefile. # words, this is the path to the Makefile.
my $P_PATH=0; my $P_PATH=0;
## ##
@ -2376,7 +2376,13 @@ sub generate_project_files($)
} }
print FILEO "### Generated by Winemaker $version\n"; print FILEO "### Generated by Winemaker $version\n";
print FILEO "\n\n"; print FILEO "###\n";
print FILEO "### Invocation command line was\n";
print FILEO "### $0";
foreach(@ARGV) {
print FILEO " $_";
}
print FILEO "\n\n\n";
generate_list("SRCDIR",1,[ "." ]); generate_list("SRCDIR",1,[ "." ]);
if (@$project[$P_PATH] eq "") { if (@$project[$P_PATH] eq "") {
@ -2653,8 +2659,8 @@ sub usage()
target_init(\@global_settings); target_init(\@global_settings);
while (@ARGV>0) { foreach(@ARGV) {
my $arg=shift @ARGV; my $arg=$_;
# General options # General options
if ($arg eq "--nobanner") { if ($arg eq "--nobanner") {
$opt_no_banner=1; $opt_no_banner=1;