#!/bin/bash -e # Copyright © SixtyFPS GmbH # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 if [ $# -lt 1 ]; then echo "usage: $0 path/to/target/binary_package" echo echo "This prepares the specified binary_package folder for distribution" echo "by adding the legal copyright and license notices." echo echo "All files will be copied/created under the licenses folder" echo "along with an index.html" echo exit 1 fi target_path=$1/licenses mkdir -p $target_path cp -a `dirname $0`/../LICENSE.md $target_path cat > about.hbs <

This program is distributed under the terms outlined in LICENSE.md

.

Third Party Licenses

This page lists the licenses of the dependencies used by this program.

Overview of licenses:

    {{#each overview}}
  • {{name}} ({{count}})
  • {{/each}}

All license text:

EOT cargo about generate -c `dirname $0`/../about.toml about.hbs -o $target_path/index.html