File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
my %options ;
25
25
GetOptions(\%options , ' help!' , ' prefix=s' ,
26
- ' make-install!' , ' makefile-timing!' );
26
+ ' make-install!' , ' makefile-timing!' , ' no-clean! ' );
27
27
28
28
# Print help if it's requested
29
29
if ($options {' help' }) {
85
85
fill_template_file(' tools/build/Makefile-JVM.in' , ' Makefile' , %config );
86
86
87
87
my $make = $config {' make' };
88
- {
88
+ unless ( $options { ' no-clean ' }) {
89
89
no warnings;
90
90
print " Cleaning up ...\n " ;
91
91
if (open my $CLEAN , ' -|' , " $make clean" ) {
@@ -117,6 +117,9 @@ sub print_help {
117
117
General Options:
118
118
--help Show this text
119
119
--prefix=dir Install files in dir
120
+ --make-install Automatically run make & make install
121
+ --makefile-timing Enable timing of individual makefile commands
122
+ --no-clean Do not run make clean
120
123
121
124
Configure.pl also reads options from 'config.default' in the current directory.
122
125
END
You can’t perform that action at this time.
0 commit comments