diff options
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Debhelper/Buildsystem/qmake.pm | 4 | ||||
-rw-r--r-- | Debian/Debhelper/Buildsystem/qmake_qt4.pm | 14 | ||||
-rw-r--r-- | Debian/Debhelper/Dh_Buildsystems.pm | 1 |
3 files changed, 18 insertions, 1 deletions
diff --git a/Debian/Debhelper/Buildsystem/qmake.pm b/Debian/Debhelper/Buildsystem/qmake.pm index 4e67f91..521013b 100644 --- a/Debian/Debhelper/Buildsystem/qmake.pm +++ b/Debian/Debhelper/Buildsystem/qmake.pm @@ -11,6 +11,8 @@ use warnings; use Debian::Debhelper::Dh_Lib qw(error); use base 'Debian::Debhelper::Buildsystem::makefile'; +our $qmake="qmake"; + sub DESCRIPTION { "qmake (*.pro)"; } @@ -66,7 +68,7 @@ sub configure { push @flags, "QMAKE_STRIP=:"; push @flags, "PREFIX=/usr"; - $this->doit_in_builddir('qmake', @options, @flags, @_); + $this->doit_in_builddir($qmake, @options, @flags, @_); } sub install { diff --git a/Debian/Debhelper/Buildsystem/qmake_qt4.pm b/Debian/Debhelper/Buildsystem/qmake_qt4.pm new file mode 100644 index 0000000..1bc9fe6 --- /dev/null +++ b/Debian/Debhelper/Buildsystem/qmake_qt4.pm @@ -0,0 +1,14 @@ +package Debian::Debhelper::Buildsystem::qmake_qt4; + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib qw(error); +use base 'Debian::Debhelper::Buildsystem::qmake'; + +$Debian::Debhelper::Buildsystem::qmake::qmake="qmake-qt4"; + +sub DESCRIPTION { + "qmake for QT 4 (*.pro)"; +} + +1 diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm index 9c3fc05..405b79c 100644 --- a/Debian/Debhelper/Dh_Buildsystems.pm +++ b/Debian/Debhelper/Dh_Buildsystems.pm @@ -28,6 +28,7 @@ our @BUILDSYSTEMS = ( "cmake", "ant", "qmake", + "qmake_qt4", ); my $opt_buildsys; |