From: Eric Biggers Date: Thu, 3 Mar 2016 03:16:34 +0000 (-0600) Subject: Include divsufsort.c license with Windows distribution X-Git-Tag: v1.9.1~8 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=9a1b5749d00a890586b1f66409fd8758e70ecefa Include divsufsort.c license with Windows distribution --- diff --git a/NEWS b/NEWS index d03c156a..ac759ff3 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,8 @@ Version 1.9.1-BETA: VSS support is no longer marked "experimental". + Added missing license file for libdivsufsort-lite. + Version 1.9.0: Added experimental support for Windows VSS (Volume Shadow Copy Service). The new '--snapshot' argument to 'wimcapture' makes wimlib automatically diff --git a/tools/make-windows-release b/tools/make-windows-release index 1b80d315..6bee2af3 100755 --- a/tools/make-windows-release +++ b/tools/make-windows-release @@ -78,6 +78,12 @@ ${ARCH}-w64-mingw32-strip $DESTDIR/*.{dll,exe} cp NEWS README* COPYING* $DESTDIR cp $WINDEPDIR/COPYING* $DESTDIR + +sed -n '/^#/q; s/^[\/\* ]*//; p' src/divsufsort.c > $DESTDIR/COPYING.libdivsufsort-lite +if ! grep -q 'Copyright' $DESTDIR/COPYING.libdivsufsort-lite; then + echo "ERROR: failed to extract libdivsufsort-lite license text" 1>&2 + exit 1 +fi ( cd $DESTDIR for fil in NEWS README* COPYING*; do