mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 03:00:10 -07:00
27 lines
465 B
Bash
Executable File
27 lines
465 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Setup docutils to generate manual pages.
|
|
{
|
|
cd docutils
|
|
|
|
python setup.py build
|
|
python setup.py install \
|
|
--root="$PWD/../dist"
|
|
|
|
cd ../dist/usr/lib/python*/site-packages
|
|
|
|
PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))")
|
|
|
|
cd -; cd ..
|
|
export PATH=$PWD/dist/usr/bin:$PATH
|
|
export PYTHONPATH
|
|
}
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
-Dvalgrind=false \
|
|
. build
|
|
|
|
ninja -C build
|
|
ninja -C build install
|