* Add inst-apps configure option.

svn path=/trunk/kdenonbeta/kdecvs-build/; revision=328114
wilder
Michael Pyne 22 years ago
parent abef1efddf
commit 2233e26482
  1. 17
      kdecvs-build

@ -42,6 +42,7 @@ my %global_opts = (
"debug" => "",
"do-not-compile" => "",
"install-after-build" => "1", # Default to true
"inst-apps" => "",
"kdedir" => "",
"libpath" => "",
"lockfile" => "$ENV{HOME}/.kdecvs-lock",
@ -1430,6 +1431,7 @@ sub safe_create_build_system
my $kdecvs = get_kdecvs_dir();
my $builddir = get_build_dir ('qt-copy'); # Only used for qt-copy
my $module = shift;
my $instapps = get_option($module, 'inst-apps');
if (pretending)
{
@ -1439,6 +1441,21 @@ sub safe_create_build_system
chdir ("$kdecvs/$module");
chdir ("$builddir/$module") if $module eq 'qt-copy' and get_option('qt-copy', 'use-qt-builddir-hack');
if ($instapps)
{
open (INSTAPPS, ">inst-apps") or do {
print "\tUnable to create inst-apps file!\n$!\n";
return 1;
};
print INSTAPPS "$instapps\n";
close INSTAPPS;
}
else
{
unlink ($instapps);
}
if (log_command ($module, "build-system", [ "make", "-f", "Makefile.cvs" ]))
{
print "\tUnable to create build system for $module\n";

Loading…
Cancel
Save