Re: [libvirt PATCH 2/3] scripts: Add $DESTDIR support to meson-install-web.py

2022-08-10 Thread Andrea Bolognani
On Tue, Aug 09, 2022 at 05:26:28PM +0200, Pavel Hrdina wrote: > On Tue, Jul 19, 2022 at 04:17:44PM +0200, Andrea Bolognani wrote: > > +destdir = os.getenv('DESTDIR') > > +if destdir: > > +destdir = Path(destdir) > > +if not destdir.is_absolute(): > > +print('$DESTDIR must be an

Re: [libvirt PATCH 2/3] scripts: Add $DESTDIR support to meson-install-web.py

2022-08-09 Thread Pavel Hrdina
On Tue, Jul 19, 2022 at 04:17:44PM +0200, Andrea Bolognani wrote: > meson already supports $DESTDIR natively, but in this case > we're using a custom script and so we have to do some extra > work ourselves. > > Signed-off-by: Andrea Bolognani > --- > scripts/meson-install-web.py | 13

[libvirt PATCH 2/3] scripts: Add $DESTDIR support to meson-install-web.py

2022-07-19 Thread Andrea Bolognani
meson already supports $DESTDIR natively, but in this case we're using a custom script and so we have to do some extra work ourselves. Signed-off-by: Andrea Bolognani --- scripts/meson-install-web.py | 13 + 1 file changed, 13 insertions(+) diff --git a/scripts/meson-install-web.py