build & install docs

This commit is contained in:
Gwenhael Le Moine 2021-07-19 13:40:29 +02:00
parent 4b7ef972bb
commit a90795dd68
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -36,6 +36,7 @@ cd $TMP/$PRGNAM/
meson setup \
--prefix /usr \
--mandir /usr/man/ \
-Dbuild-doc=true \
build/
ninja -C build/
cd build/
@ -80,7 +81,7 @@ Type=Application
EOF
mkdir -p $PKG$PREFIX/doc/$PRGNAM
cp -a docs/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/
cp -a docs/ build/html/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/
# correction
cd $PKG