aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-09 11:33:21 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-09 11:33:21 +0300
commit3ac35719d8433af937af6491383d4a50e343099b (patch)
tree5fb42a0d8ea97ba90b90a43cb91cf824fffec98f /windows
parentWindows: Fix build.bash again. (diff)
downloadxz-3ac35719d8433af937af6491383d4a50e343099b.tar.xz
Windows: Copy COPYING-Windows.txt (if it exists) to the package.
Also, put README-Windows.txt to the doc directory like the other documentation files.
Diffstat (limited to 'windows')
-rw-r--r--windows/build.bash14
1 files changed, 12 insertions, 2 deletions
diff --git a/windows/build.bash b/windows/build.bash
index 19eb6c08..af7921d4 100644
--- a/windows/build.bash
+++ b/windows/build.bash
@@ -166,10 +166,13 @@ txtcp pkg/include "" src/liblzma/api/lzma.h
txtcp pkg/include/lzma "" src/liblzma/api/lzma/*.h
txtcp pkg/doc "" src/liblzma/liblzma.def
txtcp pkg/doc .txt AUTHORS COPYING NEWS README THANKS TODO
-txtcp pkg/doc "" doc/*.txt
+txtcp pkg/doc "" doc/*.txt windows/README-Windows.txt
txtcp pkg/doc/manuals "" doc/man/txt/{xz,xzdec,lzmainfo}.txt
cp -v doc/man/pdf-*/{xz,xzdec,lzmainfo}-*.pdf pkg/doc/manuals
-txtcp pkg "" windows/README-Windows.txt
+
+if [ -f windows/COPYING-Windows.txt ]; then
+ txtcp pkg/doc "" windows/COPYING-Windows.txt
+fi
# Create the package. This requires 7z.exe from 7-Zip. If it wasn't found,
# this step is skipped and you have to zip it yourself.
@@ -185,6 +188,13 @@ else
echo " You can create them yourself from the pkg directory."
fi
+if [ ! -f windows/COPYING-Windows.txt ]; then
+ echo
+ echo "NOTE: windows/COPYING-Windows.txt doesn't exists."
+ echo " MinGW(-w64) runtime copyright information"
+ echo " is not included in the package."
+fi
+
echo
echo "Build completed successfully."
echo