HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

hostname-wordlist/meson.build

Git blob: d45aced3d0d043602ce7a1e22f18eeabe3b05942

Lines 1–19 of 19

# SPDX-License-Identifier: LGPL-2.1-or-later
 
if get_option('hostname-wordlist')
        install_data(
                'weather',
                'colors',
                'worlds',
                install_dir : libexecdir / 'hostname-wordlist')
 
        # The '$' hostname tokens look up word lists by position ("1", "2", "3", …); ship those names as
        # symlinks to the semantic lists so the same files back both.
        foreach link : [['1', 'weather'], ['2', 'colors'], ['3', 'worlds']]
                install_symlink(
                        link[0],
                        install_dir : libexecdir / 'hostname-wordlist',
                        pointing_to : link[1])
        endforeach
endif