my @projects=glob($this->get_sourcepath('*.pro'));
my $ret=0;
- if (@projects > 0 && -e $projects[0]) {
+ if (@projects > 0) {
$ret=1;
# Existence of a Makefile generated by qmake indicates qmake
# class has already been used by a prior build step, so should
push @flags, "QMAKE_LFLAGS_DEBUG=$ENV{LDFLAGS}";
}
push @flags, "QMAKE_STRIP=:";
+ push @flags, "PREFIX=/usr";
$this->doit_in_builddir('qmake', @options, @flags, @_);
}
$this->SUPER::install($destdir, "INSTALL_ROOT=$destdir", @_);
}
-1;
+1