mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 05:40:23 +00:00
433f9664e9
* [Build] Add missing dist files from libnkutils * [Doc] Switch to pandoc and remove generated files * [Doc] Rewrite markdown for conversion to man * convert existing markup to use definition list (a bit hacky...) * rewrite title to pandoc man metadata * reduce heading nesting to match most man pages * inline code displayed as bold, also common man style * [Doc] New installation with autoconf and meson - 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 * [Doc] Make pandoc filter 2.9 compatible Man pages look better with pandoc >= 2.17
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
|