diff options
author | Peter Pentchev <roam@debian.org> | 2022-12-26 13:23:21 +0200 |
---|---|---|
committer | Peter Pentchev <roam@debian.org> | 2022-12-26 13:26:33 +0200 |
commit | e5de06dca780e9df6e99f2a2fe94d0a12b0b47b3 (patch) | |
tree | 7a3135ed4a10cb8a6c45fa929d876c132c760115 | |
parent | 70705d6429387f2142676b42d53dead01b547c09 (diff) |
meson: pass additional arguments to 'install' through
Suggested by: nthykier
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/meson.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm index d82512f3..3cd447de 100644 --- a/lib/Debian/Debhelper/Buildsystem/meson.pm +++ b/lib/Debian/Debhelper/Buildsystem/meson.pm @@ -135,12 +135,11 @@ sub test { } sub install { - my $this = shift; - my ($destdir) = @_; + my ($this, $destdir, @args) = @_; my $target = $this->get_targetbuildsystem; if (compat(13) or $target->NAME ne 'ninja') { - $target->install(@_); + $target->install($destdir, @args); } else { # In compat 14 with meson+ninja, we prefer using "meson install" # over "ninja install" @@ -149,7 +148,7 @@ sub install { 'LC_ALL' => 'C.UTF-8', } ); - $this->doit_in_builddir(\%options, 'meson', 'install', '--destdir', $destdir); + $this->doit_in_builddir(\%options, 'meson', 'install', '--destdir', $destdir, @args); } return 1; } |