libvirt/scripts/meson-install-web.py
Pavel Hrdina 70629df0c2 meson: add rule to build and install only web documentation
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-08-03 09:27:06 +02:00

11 lines
187 B
Python
Executable File

#!/usr/bin/env python3
import os
import shutil
import sys
for desc in sys.argv[1:]:
inst = desc.split(':')
os.makedirs(inst[1], exist_ok=True)
shutil.copy(inst[0], inst[1])