diff options
author | Peter Pentchev <roam@debian.org> | 2022-12-26 11:57:01 +0200 |
---|---|---|
committer | Peter Pentchev <roam@debian.org> | 2022-12-26 11:57:01 +0200 |
commit | 70705d6429387f2142676b42d53dead01b547c09 (patch) | |
tree | 5572acaccdddac0398a5c164710023d100b1d45b | |
parent | 89d9ea93b68488320c6774c08e074a880470213a (diff) |
Pass --destdir to `meson install`
The `meson install` subcommand does not like a directory passed directly as
a positional argument.
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/meson.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm index 9d11b2c6..d82512f3 100644 --- a/lib/Debian/Debhelper/Buildsystem/meson.pm +++ b/lib/Debian/Debhelper/Buildsystem/meson.pm @@ -136,6 +136,7 @@ sub test { sub install { my $this = shift; + my ($destdir) = @_; my $target = $this->get_targetbuildsystem; if (compat(13) or $target->NAME ne 'ninja') { @@ -148,7 +149,7 @@ sub install { 'LC_ALL' => 'C.UTF-8', } ); - $this->doit_in_builddir(\%options, 'meson', 'install', @_); + $this->doit_in_builddir(\%options, 'meson', 'install', '--destdir', $destdir); } return 1; } |