mirror of
https://github.com/lbonn/rofi
synced 2024-11-28 23:00:22 +00:00
7872785bfc
- autoconf: * generate in source directory if pandoc found * install from source directory - meson: * generate and install with build directory if pandoc found * try to install from source directory if pandoc not found * bail otherwise
16 lines
207 B
Bash
16 lines
207 B
Bash
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
cd "${MESON_DIST_ROOT}"
|
|
|
|
# deploy docs
|
|
mkdir build
|
|
meson setup build -Dprefix=/usr
|
|
ninja -C build
|
|
cp build/doc/*.1 doc
|
|
cp build/doc/*.5 doc
|
|
rm -rf build
|
|
|
|
# configure script
|
|
autoreconf -i
|