aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-03-17 18:36:22 +0200
committerJia Tan <jiat0218@gmail.com>2023-03-18 00:39:32 +0800
commit5dca3f5cbab31105196c89cd6df0a9bbc3307c05 (patch)
treeed5673757a6f0d83cc1ab465fbc82d052f5185f0 /windows
parentWindows: Add microlzma_*.c to the VS project files. (diff)
downloadxz-5dca3f5cbab31105196c89cd6df0a9bbc3307c05.tar.xz
Windows: build.bash: Copy liblzma API docs to the output package.
Diffstat (limited to 'windows')
-rw-r--r--windows/build.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/build.bash b/windows/build.bash
index 9a3ebe0c..e083fe7c 100644
--- a/windows/build.bash
+++ b/windows/build.bash
@@ -163,7 +163,7 @@ fi
# Copy the headers, the .def file, and the docs.
# They are the same for all architectures and builds.
-mkdir -pv pkg/{include/lzma,doc/{manuals,examples}}
+mkdir -pv pkg/{include/lzma,doc/{api,manuals,examples}}
txtcp pkg/include "" src/liblzma/api/lzma.h
txtcp pkg/include/lzma "" src/liblzma/api/lzma/*.h
txtcp pkg/doc "" src/liblzma/liblzma.def
@@ -171,6 +171,7 @@ txtcp pkg/doc .txt AUTHORS COPYING NEWS README THANKS TODO
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
+cp -v doc/api/* pkg/doc/api
txtcp pkg/doc/examples "" doc/examples/*
if [ -f windows/COPYING-Windows.txt ]; then