2019-06-27 00:03:00 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-08-26 06:39:39 -06:00
|
|
|
# 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
|
|
|
|
}
|
|
|
|
|
2020-04-14 09:44:37 -06:00
|
|
|
meson \
|
2019-06-27 00:03:00 -06:00
|
|
|
--prefix=/usr \
|
2021-07-25 06:03:55 -06:00
|
|
|
-Dvalgrind=false \
|
2020-04-14 09:44:37 -06:00
|
|
|
. build
|
2019-06-27 00:03:00 -06:00
|
|
|
|
2020-04-14 09:44:37 -06:00
|
|
|
ninja -C build
|
|
|
|
ninja -C build install
|