windows/build.bash: Omit Doxygen docs from the package

They will be omitted from the source tarball and I don't want
to make Doxygen a dependency of build.bash.

(cherry picked from commit 252aa1d67b)
This commit is contained in:
Lasse Collin 2024-04-19 17:41:36 +03:00
parent d4dd3c8f61
commit b04c16f9a5
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ fi
# Copy the headers, the .def file, and the docs. # Copy the headers, the .def file, and the docs.
# They are the same for all architectures and builds. # They are the same for all architectures and builds.
mkdir -pv pkg/{include/lzma,doc/{api,manuals,examples}} mkdir -pv pkg/{include/lzma,doc/{manuals,examples}}
txtcp pkg/include "" src/liblzma/api/lzma.h txtcp pkg/include "" src/liblzma/api/lzma.h
txtcp pkg/include/lzma "" src/liblzma/api/lzma/*.h txtcp pkg/include/lzma "" src/liblzma/api/lzma/*.h
txtcp pkg/doc "" src/liblzma/liblzma.def txtcp pkg/doc "" src/liblzma/liblzma.def
@ -208,7 +208,7 @@ txtcp pkg/doc "" doc/*.txt \
windows/COPYING.MinGW-w64-runtime.txt windows/COPYING.MinGW-w64-runtime.txt
txtcp pkg/doc/manuals "" doc/man/txt/{xz,xzdec,lzmainfo}.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/man/pdf-*/{xz,xzdec,lzmainfo}-*.pdf pkg/doc/manuals
cp -v doc/api/* pkg/doc/api # cp -rv doc/api pkg/doc/api
txtcp pkg/doc/examples "" doc/examples/* txtcp pkg/doc/examples "" doc/examples/*
# Create the package. This requires 7z from 7-Zip. # Create the package. This requires 7z from 7-Zip.