mirror of https://git.tukaani.org/xz.git
Windows: build.bash: Copy liblzma API docs to the output package.
This commit is contained in:
parent
133cf55edc
commit
76e2315e14
|
@ -163,7 +163,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/{manuals,examples}}
|
mkdir -pv pkg/{include/lzma,doc/{api,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
|
||||||
|
@ -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 "" doc/*.txt windows/README-Windows.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
|
||||||
txtcp pkg/doc/examples "" doc/examples/*
|
txtcp pkg/doc/examples "" doc/examples/*
|
||||||
|
|
||||||
if [ -f windows/COPYING-Windows.txt ]; then
|
if [ -f windows/COPYING-Windows.txt ]; then
|
||||||
|
|
Loading…
Reference in New Issue