python/polib: Fix doc location.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4d220f89f3
commit
589c5b8ffe
|
@ -27,7 +27,7 @@ TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -38,7 +38,7 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -82,7 +82,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
# Don't fail if sphinx not installed
|
# Don't fail if sphinx not installed
|
||||||
if [ -x /usr/bin/sphinx-build ] ; then
|
if [ -x /usr/bin/sphinx-build ] ; then
|
||||||
( cd $TMP/$PRGNAM-$VERSION/doc
|
( cd $TMP/$PRGNAM-$VERSION/docs
|
||||||
make html
|
make html
|
||||||
make pickle
|
make pickle
|
||||||
make json
|
make json
|
||||||
|
|
Loading…
Reference in New Issue