=item B<--> I<params>
-Pass "params" to the program that is run. These can be used to supplement
-or override the standard parameters that dh_auto_configure passes.
+Pass "params" to the program that is run, after the standard
+parameters that dh_auto_configure passes. This can be used to supplement
+or override those parameters. For example:
+
+ dh_auto_configure -- --with-foo --enable-bar
=back
}
elsif (-e "Makefile.PL") {
# If set to a true value then MakeMaker's prompt function will
- # # always return the default without waiting for user input.
+ # always return the default without waiting for user input.
$ENV{PERL_MM_USE_DEFAULT}=1;
- doit("perl", "Makefile.PL", "INSTALLDIRS=vendor", @{$dh{U_PARAMS}});
+ # This prevents Module::Install from interactive behavior.
+ $ENV{PERL_AUTOINSTALL}="--skipdeps";
+
+ doit("perl", "Makefile.PL", "INSTALLDIRS=vendor",
+ "create_packlist=0", @{$dh{U_PARAMS}});
}
elsif (-e "Build.PL") {
$ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this.