rename license filename. include dependency licenses in distribution.

This commit is contained in:
Alex Birch 2018-05-12 17:08:10 +01:00
parent 247470fc7f
commit ef22017554
No known key found for this signature in database
GPG Key ID: 305EB1F98D44ACBA
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ do
if [ -d "$MYDIR/build/$BUILD" ]; then
echo "Found $BUILD; archiving targets to build/$BUILD.tar.xz:"
ls "$MYDIR/build/$BUILD"
\cp -rf ../../LICENSE.txt "$MYDIR/build/$BUILD/LICENSE.txt"
\cp -rf ../../licenses_of_dependencies "$MYDIR/build/$BUILD/licenses_of_dependencies"
tar -hczf "$MYDIR/build/$BUILD.tar.xz" -C "$MYDIR/build/$BUILD" .
else
echo "Missing $BUILD; skipping."