# A part of NonVisual Desktop Access (NVDA)
# Copyright (C) 2018-2022 NV Access Limited
# This file may be used under the terms of the GNU General Public License, version 2 or later.
# For more details see: https://www.gnu.org/licenses/gpl-2.0.html


import typing

if typing.TYPE_CHECKING:
	import SCons
	from SCons import (
		Dir,
		Import,
	)

sourceDir: "SCons.Node.FS.Dir"
env: "SCons.Environment.Base"
Import(
	"env",
	"sourceDir",
)

targetCldrDir = sourceDir.Dir("locale")
cldrDataSource = Dir("include/nvda-cldr/locale")

env.RecursiveInstall(targetCldrDir, cldrDataSource.abspath)
