summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem/qmake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper/Buildsystem/qmake.pm')
-rw-r--r--Debian/Debhelper/Buildsystem/qmake.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem/qmake.pm b/Debian/Debhelper/Buildsystem/qmake.pm
index 823a70e..4e67f91 100644
--- a/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/Debian/Debhelper/Buildsystem/qmake.pm
@@ -20,7 +20,7 @@ sub check_auto_buildable {
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
@@ -64,6 +64,7 @@ sub configure {
push @flags, "QMAKE_LFLAGS_DEBUG=$ENV{LDFLAGS}";
}
push @flags, "QMAKE_STRIP=:";
+ push @flags, "PREFIX=/usr";
$this->doit_in_builddir('qmake', @options, @flags, @_);
}
@@ -77,4 +78,4 @@ sub install {
$this->SUPER::install($destdir, "INSTALL_ROOT=$destdir", @_);
}
-1;
+1