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 ..
|
2022-09-27 11:20:09 -06:00
|
|
|
export PATH="$PWD/dist/usr/bin:$PATH"
|
2021-08-26 06:39:39 -06:00
|
|
|
export PYTHONPATH
|
|
|
|
}
|
|
|
|
|
2020-04-14 09:44:37 -06:00
|
|
|
meson \
|
2019-06-27 00:03:00 -06:00
|
|
|
--prefix=/usr \
|
2022-08-31 11:41:20 -06:00
|
|
|
-Dvalgrind=disabled \
|
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
|